Struct twitter_stream_message::message::Disconnect [] [src]

pub struct Disconnect<'a> {
    pub code: DisconnectCode,
    pub stream_name: Cow<'a, str>,
    pub reason: Cow<'a, str>,
}

Indicates why a stream was closed.

Fields

Trait Implementations

impl<'a> Clone for Disconnect<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Disconnect<'a>
[src]

Formats the value using the given formatter.

impl<'a> Eq for Disconnect<'a>
[src]

impl<'a> PartialEq for Disconnect<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Hash for Disconnect<'a>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> Display for Disconnect<'a>
[src]

Formats the value using the given formatter. Read more