[][src]Enum brokaw::types::command::XHdr

pub enum XHdr {
    MessageId {
        header: String,
        id: String,
    },
    Range {
        header: String,
        low: ArticleNumber,
        high: ArticleNumber,
    },
}

Retrieve a specific header from one or more articles

Variants

MessageId

A single message

Fields of MessageId

header: String

The name of the header to retrieve

id: String

The message ID of the article

Range

A range of messages

Fields of Range

header: String

The name of the header to retrieve

low: ArticleNumber

The low number of the article range

high: ArticleNumber

The high number of the article range

Trait Implementations

impl Clone for XHdr[src]

impl Debug for XHdr[src]

impl Display for XHdr[src]

Auto Trait Implementations

impl RefUnwindSafe for XHdr

impl Send for XHdr

impl Sync for XHdr

impl Unpin for XHdr

impl UnwindSafe for XHdr

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> ToString for T where
    T: Display + ?Sized
[src]

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.