#[non_exhaustive]pub enum FileObjectType {
Known(FileObjectTypeKnown),
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Known(FileObjectTypeKnown)
Unknown(String)
Trait Implementations§
Source§impl Clone for FileObjectType
impl Clone for FileObjectType
Source§fn clone(&self) -> FileObjectType
fn clone(&self) -> FileObjectType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileObjectType
impl Debug for FileObjectType
Source§impl<'de> Deserialize<'de> for FileObjectType
impl<'de> Deserialize<'de> for FileObjectType
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FileObjectType
Source§impl PartialEq for FileObjectType
impl PartialEq for FileObjectType
Source§impl Serialize for FileObjectType
impl Serialize for FileObjectType
impl StructuralPartialEq for FileObjectType
Auto Trait Implementations§
impl Freeze for FileObjectType
impl RefUnwindSafe for FileObjectType
impl Send for FileObjectType
impl Sync for FileObjectType
impl Unpin for FileObjectType
impl UnsafeUnpin for FileObjectType
impl UnwindSafe for FileObjectType
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