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