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