pub enum FlagNameAttribute<'a> {
Noinferiors,
Noselect,
Marked,
Unmarked,
Extension(FlagNameAttributeExtension<'a>),
}
Expand description
Four name attributes are defined.
Variants§
Noinferiors
It is not possible for any child levels of hierarchy to exist
under this name; no child levels exist now and none can be
created in the future. (\Noinferiors
)
Noselect
It is not possible to use this name as a selectable mailbox. (\Noselect
)
Marked
The mailbox has been marked “interesting” by the server; the
mailbox probably contains messages that have been added since
the last time the mailbox was selected. (\Marked
)
Unmarked
The mailbox does not contain any additional messages since the
last time the mailbox was selected. (\Unmarked
)
Extension(FlagNameAttributeExtension<'a>)
An extension flags.
Implementations§
Source§impl<'a> FlagNameAttribute<'a>
impl<'a> FlagNameAttribute<'a>
pub fn is_selectability(&self) -> bool
Trait Implementations§
Source§impl<'a> Arbitrary<'a> for FlagNameAttribute<'a>
impl<'a> Arbitrary<'a> for FlagNameAttribute<'a>
Source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl<'a> Clone for FlagNameAttribute<'a>
impl<'a> Clone for FlagNameAttribute<'a>
Source§fn clone(&self) -> FlagNameAttribute<'a>
fn clone(&self) -> FlagNameAttribute<'a>
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<'a> Debug for FlagNameAttribute<'a>
impl<'a> Debug for FlagNameAttribute<'a>
Source§impl<'de, 'a> Deserialize<'de> for FlagNameAttribute<'a>
impl<'de, 'a> Deserialize<'de> for FlagNameAttribute<'a>
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<'a> Display for FlagNameAttribute<'a>
impl<'a> Display for FlagNameAttribute<'a>
Source§impl<'a> From<Atom<'a>> for FlagNameAttribute<'a>
impl<'a> From<Atom<'a>> for FlagNameAttribute<'a>
Source§impl<'a> Hash for FlagNameAttribute<'a>
impl<'a> Hash for FlagNameAttribute<'a>
Source§impl<'a> IntoBoundedStatic for FlagNameAttribute<'a>
impl<'a> IntoBoundedStatic for FlagNameAttribute<'a>
Source§type Static = FlagNameAttribute<'static>
type Static = FlagNameAttribute<'static>
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<'a> PartialEq for FlagNameAttribute<'a>
impl<'a> PartialEq for FlagNameAttribute<'a>
Source§impl<'a> Serialize for FlagNameAttribute<'a>
impl<'a> Serialize for FlagNameAttribute<'a>
Source§impl<'a> ToBoundedStatic for FlagNameAttribute<'a>
impl<'a> ToBoundedStatic for FlagNameAttribute<'a>
impl<'a> Eq for FlagNameAttribute<'a>
impl<'a> StructuralPartialEq for FlagNameAttribute<'a>
Auto Trait Implementations§
impl<'a> Freeze for FlagNameAttribute<'a>
impl<'a> RefUnwindSafe for FlagNameAttribute<'a>
impl<'a> Send for FlagNameAttribute<'a>
impl<'a> Sync for FlagNameAttribute<'a>
impl<'a> Unpin for FlagNameAttribute<'a>
impl<'a> UnwindSafe for FlagNameAttribute<'a>
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