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