Enum imap_types::extensions::metadata::MetadataCode
source · pub enum MetadataCode {
LongEntries(u32),
MaxSize(u32),
TooMany,
NoPrivate,
}Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for MetadataCode
impl<'arbitrary> Arbitrary<'arbitrary> for MetadataCode
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moresource§impl Clone for MetadataCode
impl Clone for MetadataCode
source§fn clone(&self) -> MetadataCode
fn clone(&self) -> MetadataCode
Returns a copy 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 MetadataCode
impl Debug for MetadataCode
source§impl<'de> Deserialize<'de> for MetadataCode
impl<'de> Deserialize<'de> for MetadataCode
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 Hash for MetadataCode
impl Hash for MetadataCode
source§impl IntoBoundedStatic for MetadataCode
impl IntoBoundedStatic for MetadataCode
§type Static = MetadataCode
type Static = MetadataCode
The target type is bounded by the
'static lifetime.source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T into an owned T such that T: 'static.source§impl PartialEq for MetadataCode
impl PartialEq for MetadataCode
source§fn eq(&self, other: &MetadataCode) -> bool
fn eq(&self, other: &MetadataCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MetadataCode
impl Serialize for MetadataCode
source§impl ToBoundedStatic for MetadataCode
impl ToBoundedStatic for MetadataCode
impl Eq for MetadataCode
impl StructuralPartialEq for MetadataCode
Auto Trait Implementations§
impl Freeze for MetadataCode
impl RefUnwindSafe for MetadataCode
impl Send for MetadataCode
impl Sync for MetadataCode
impl Unpin for MetadataCode
impl UnwindSafe for MetadataCode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)