#[non_exhaustive]pub enum DataCollection {
Deny,
Allow,
}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.
Trait Implementations§
Source§impl Clone for DataCollection
impl Clone for DataCollection
impl Copy for DataCollection
Source§impl Debug for DataCollection
impl Debug for DataCollection
Source§impl DeclaredFields for DataCollection
impl DeclaredFields for DataCollection
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for DataCollection
impl<'de> Deserialize<'de> for DataCollection
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
impl Eq for DataCollection
Source§impl PartialEq for DataCollection
impl PartialEq for DataCollection
Source§impl Serialize for DataCollection
impl Serialize for DataCollection
impl StructuralPartialEq for DataCollection
Auto Trait Implementations§
impl Freeze for DataCollection
impl RefUnwindSafe for DataCollection
impl Send for DataCollection
impl Sync for DataCollection
impl Unpin for DataCollection
impl UnsafeUnpin for DataCollection
impl UnwindSafe for DataCollection
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