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
code: DisconnectCode
stream_name: Cow<'a, str>
reason: Cow<'a, str>
Trait Implementations
impl<'a> Clone for Disconnect<'a>[src]
fn clone(&self) -> Disconnect<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> Debug for Disconnect<'a>[src]
impl<'a> Eq for Disconnect<'a>[src]
impl<'a> PartialEq for Disconnect<'a>[src]
fn eq(&self, __arg_0: &Disconnect<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Disconnect<'a>) -> bool
This method tests for !=.
impl<'a> Hash for Disconnect<'a>[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more