Struct libhealth::model::ActivityTypes
source · pub struct ActivityTypes(pub Vec<ActivityType>);
Tuple Fields§
§0: Vec<ActivityType>
Trait Implementations§
source§impl BoxedType for ActivityTypes
impl BoxedType for ActivityTypes
source§impl Clone for ActivityTypes
impl Clone for ActivityTypes
source§fn clone(&self) -> ActivityTypes
fn clone(&self) -> ActivityTypes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for ActivityTypes
impl<'de> Deserialize<'de> for ActivityTypes
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ActivityTypes> for Value
impl From<ActivityTypes> for Value
source§fn from(v: ActivityTypes) -> Self
fn from(v: ActivityTypes) -> Self
Converts to this type from the input type.
source§impl FromGlibPtrFull<*mut ActivityTypes> for ActivityTypes
impl FromGlibPtrFull<*mut ActivityTypes> for ActivityTypes
source§unsafe fn from_glib_full(ptr: *mut ActivityTypes) -> Self
unsafe fn from_glib_full(ptr: *mut ActivityTypes) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const ActivityTypes> for ActivityTypes
impl FromGlibPtrNone<*const ActivityTypes> for ActivityTypes
source§unsafe fn from_glib_none(ptr: *const ActivityTypes) -> Self
unsafe fn from_glib_none(ptr: *const ActivityTypes) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut ActivityTypes> for ActivityTypes
impl FromGlibPtrNone<*mut ActivityTypes> for ActivityTypes
source§unsafe fn from_glib_none(ptr: *mut ActivityTypes) -> Self
unsafe fn from_glib_none(ptr: *mut ActivityTypes) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a ActivityTypes
impl<'a> FromValue<'a> for &'a ActivityTypes
§type Checker = GenericValueTypeChecker<&'a ActivityTypes>
type Checker = GenericValueTypeChecker<&'a ActivityTypes>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for ActivityTypes
impl<'a> FromValue<'a> for ActivityTypes
§type Checker = GenericValueTypeChecker<ActivityTypes>
type Checker = GenericValueTypeChecker<ActivityTypes>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl HasParamSpec for ActivityTypes
impl HasParamSpec for ActivityTypes
type ParamSpec = ParamSpecBoxed
§type SetValue = ActivityTypes
type SetValue = ActivityTypes
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, ActivityTypes>
fn param_spec_builder() -> Self::BuilderFn
source§impl IntoGlibPtr<*mut ActivityTypes> for ActivityTypes
impl IntoGlibPtr<*mut ActivityTypes> for ActivityTypes
source§unsafe fn into_glib_ptr(self) -> *mut ActivityTypes
unsafe fn into_glib_ptr(self) -> *mut ActivityTypes
Transfer: full.
source§impl PartialEq<ActivityTypes> for ActivityTypes
impl PartialEq<ActivityTypes> for ActivityTypes
source§fn eq(&self, other: &ActivityTypes) -> bool
fn eq(&self, other: &ActivityTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ActivityTypes
impl Serialize for ActivityTypes
source§impl StaticType for ActivityTypes
impl StaticType for ActivityTypes
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibPtr<'a, *const ActivityTypes> for ActivityTypes
impl<'a> ToGlibPtr<'a, *const ActivityTypes> for ActivityTypes
type Storage = PhantomData<&'a ActivityTypes>
source§fn to_glib_none(&'a self) -> Stash<'a, *const ActivityTypes, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const ActivityTypes, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const ActivityTypes
fn to_glib_full(&self) -> *const ActivityTypes
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut ActivityTypes> for ActivityTypes
impl<'a> ToGlibPtr<'a, *mut ActivityTypes> for ActivityTypes
type Storage = PhantomData<&'a ActivityTypes>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut ActivityTypes, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut ActivityTypes, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut ActivityTypes
fn to_glib_full(&self) -> *mut ActivityTypes
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl ToValue for ActivityTypes
impl ToValue for ActivityTypes
source§impl ValueType for ActivityTypes
impl ValueType for ActivityTypes
§type Type = ActivityTypes
type Type = ActivityTypes
Type to get the
Type
from. Read moreimpl Eq for ActivityTypes
impl StructuralEq for ActivityTypes
impl StructuralPartialEq for ActivityTypes
Auto Trait Implementations§
impl RefUnwindSafe for ActivityTypes
impl Send for ActivityTypes
impl Sync for ActivityTypes
impl Unpin for ActivityTypes
impl UnwindSafe for ActivityTypes
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.