pub enum ActivityPropertiesResultEnum {
Array(Vec<ActivityPropertiesResultTermEnum>),
Term(ActivityPropertiesResultTermEnum),
}Expand description
Non-Terminating variations for the result field from ActivityProperties
result isn’t functional, meaning it can be represented as either a single ActivityPropertiesResultTermEnum or a vector of ActivityPropertiesResultTermEnum
Variants§
Trait Implementations§
Source§impl Clone for ActivityPropertiesResultEnum
impl Clone for ActivityPropertiesResultEnum
Source§fn clone(&self) -> ActivityPropertiesResultEnum
fn clone(&self) -> ActivityPropertiesResultEnum
Returns a duplicate 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 Debug for ActivityPropertiesResultEnum
impl Debug for ActivityPropertiesResultEnum
Source§impl<'de> Deserialize<'de> for ActivityPropertiesResultEnum
impl<'de> Deserialize<'de> for ActivityPropertiesResultEnum
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<ActivityPropertiesResultTermEnum> for ActivityPropertiesResultEnum
impl From<ActivityPropertiesResultTermEnum> for ActivityPropertiesResultEnum
Source§fn from(term: ActivityPropertiesResultTermEnum) -> Self
fn from(term: ActivityPropertiesResultTermEnum) -> Self
Converts to this type from the input type.
Source§impl From<Vec<ActivityPropertiesResultTermEnum>> for ActivityPropertiesResultEnum
impl From<Vec<ActivityPropertiesResultTermEnum>> for ActivityPropertiesResultEnum
Source§fn from(v: Vec<ActivityPropertiesResultTermEnum>) -> Self
fn from(v: Vec<ActivityPropertiesResultTermEnum>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActivityPropertiesResultEnum
impl RefUnwindSafe for ActivityPropertiesResultEnum
impl Send for ActivityPropertiesResultEnum
impl Sync for ActivityPropertiesResultEnum
impl Unpin for ActivityPropertiesResultEnum
impl UnsafeUnpin for ActivityPropertiesResultEnum
impl UnwindSafe for ActivityPropertiesResultEnum
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