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