[−][src]Struct imap::types::Name
A name that matches a LIST
or LSUB
command.
Methods
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
Auto Trait Implementations
impl Send for Name
impl Unpin for Name
impl Sync for Name
impl UnwindSafe for Name
impl RefUnwindSafe for Name
Blanket Implementations
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,