Struct imap_codec::command::Command
source · pub struct Command<'a> {
pub tag: Tag<'a>,
pub body: CommandBody<'a>,
}
Fields§
§tag: Tag<'a>
§body: CommandBody<'a>
Implementations§
Trait Implementations§
source§impl<'a, 'arbitrary> Arbitrary<'arbitrary> for Command<'a>where
'arbitrary: 'a,
impl<'a, 'arbitrary> Arbitrary<'arbitrary> for Command<'a>where 'arbitrary: 'a,
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Command<'a>, Error>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Command<'a>, Error>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§impl<'a> DecodeStatic for Command<'static>
impl<'a> DecodeStatic for Command<'static>
source§impl<'de, 'a> Deserialize<'de> for Command<'a>
impl<'de, 'a> Deserialize<'de> for Command<'a>
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Command<'a>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<Command<'a>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> Encoder<&Command<'a>> for ImapClientCodec
Available on crate feature tokio
only.
impl<'a> Encoder<&Command<'a>> for ImapClientCodec
Available on crate feature
tokio
only.source§impl<'a> IntoBoundedStatic for Command<'a>
impl<'a> IntoBoundedStatic for Command<'a>
source§fn into_static(self) -> <Command<'a> as IntoBoundedStatic>::Static
fn into_static(self) -> <Command<'a> as IntoBoundedStatic>::Static
Convert an owned
T
into an owned T
such that T: 'static
.source§impl<'a> PartialEq<Command<'a>> for Command<'a>
impl<'a> PartialEq<Command<'a>> for Command<'a>
source§impl<'a> Serialize for Command<'a>
impl<'a> Serialize for Command<'a>
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl<'a> ToBoundedStatic for Command<'a>
impl<'a> ToBoundedStatic for Command<'a>
impl<'a> Eq for Command<'a>
impl<'a> StructuralEq for Command<'a>
impl<'a> StructuralPartialEq for Command<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Command<'a>
impl<'a> Send for Command<'a>
impl<'a> Sync for Command<'a>
impl<'a> Unpin for Command<'a>
impl<'a> UnwindSafe for Command<'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