Enum panorama_imap::response::BodyStructure[][src]

pub enum BodyStructure {
    Basic {
        common: BodyContentCommon,
        other: BodyContentSinglePart,
        extension: Option<BodyExtension>,
    },
    Text {
        common: BodyContentCommon,
        other: BodyContentSinglePart,
        lines: u32,
        extension: Option<BodyExtension>,
    },
    Message {
        common: BodyContentCommon,
        other: BodyContentSinglePart,
        envelope: Envelope,
        body: Box<BodyStructure>,
        lines: u32,
        extension: Option<BodyExtension>,
    },
    Multipart {
        common: BodyContentCommon,
        bodies: Vec<BodyStructure>,
        extension: Option<BodyExtension>,
    },
}

Variants

Basic

Fields of Basic

common: BodyContentCommonother: BodyContentSinglePartextension: Option<BodyExtension>
Text

Fields of Text

common: BodyContentCommonother: BodyContentSinglePartlines: u32extension: Option<BodyExtension>
Message

Fields of Message

common: BodyContentCommonother: BodyContentSinglePartenvelope: Envelopebody: Box<BodyStructure>lines: u32extension: Option<BodyExtension>
Multipart

Fields of Multipart

common: BodyContentCommonbodies: Vec<BodyStructure>extension: Option<BodyExtension>

Trait Implementations

impl Clone for BodyStructure[src]

impl Debug for BodyStructure[src]

impl Eq for BodyStructure[src]

impl PartialEq<BodyStructure> for BodyStructure[src]

impl StructuralEq for BodyStructure[src]

impl StructuralPartialEq for BodyStructure[src]

Auto Trait Implementations

impl RefUnwindSafe for BodyStructure[src]

impl Send for BodyStructure[src]

impl Sync for BodyStructure[src]

impl Unpin for BodyStructure[src]

impl UnwindSafe for BodyStructure[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.