pub struct TaggedCommand {
pub tag: String,
pub command: ImapCommand,
}Expand description
An IMAP command paired with its tag (the client-chosen identifier
echoed back in the matching tagged response, e.g. "a001").
Fields§
§tag: StringClient-chosen tag (e.g. "a001").
command: ImapCommandParsed command.
Trait Implementations§
Source§impl Clone for TaggedCommand
impl Clone for TaggedCommand
Source§fn clone(&self) -> TaggedCommand
fn clone(&self) -> TaggedCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TaggedCommand
impl Debug for TaggedCommand
Source§impl PartialEq for TaggedCommand
impl PartialEq for TaggedCommand
Source§fn eq(&self, other: &TaggedCommand) -> bool
fn eq(&self, other: &TaggedCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TaggedCommand
impl StructuralPartialEq for TaggedCommand
Auto Trait Implementations§
impl Freeze for TaggedCommand
impl RefUnwindSafe for TaggedCommand
impl Send for TaggedCommand
impl Sync for TaggedCommand
impl Unpin for TaggedCommand
impl UnsafeUnpin for TaggedCommand
impl UnwindSafe for TaggedCommand
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