[−][src]Struct imap::types::Name
A name that matches a LIST
or LSUB
command.
Implementations
impl Name
[src]
pub fn attributes(&self) -> &[NameAttribute<'_>]
[src]
Attributes of this name.
pub fn delimiter(&self) -> Option<&str>
[src]
The hierarchy delimiter is a character used to delimit levels of hierarchy in a mailbox
name. A client can use it to create child mailboxes, and to search higher or lower levels
of naming hierarchy. All children of a top-level hierarchy node use the same
separator character. None
means that no hierarchy exists; the name is a "flat" name.
pub fn name(&self) -> &str
[src]
The name represents an unambiguous left-to-right hierarchy, and are valid for use as a
reference in LIST
and LSUB
commands. Unless NameAttribute::NoSelect
is indicated,
the name is also valid as an argument for commands, such as SELECT
, that accept mailbox
names.
Trait Implementations
impl Debug for Name
[src]
impl Eq for Name
[src]
impl PartialEq<Name> for Name
[src]
impl StructuralEq for Name
[src]
impl StructuralPartialEq for Name
[src]
Auto Trait Implementations
impl RefUnwindSafe for Name
[src]
impl Send for Name
[src]
impl Sync for Name
[src]
impl Unpin for Name
[src]
impl UnwindSafe for Name
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,