Struct twitter_stream::message::Disconnect
[−]
[src]
pub struct Disconnect {
pub code: DisconnectCode,
pub stream_name: String,
pub reason: String,
}Indicates why a stream was closed.
Fields
code: DisconnectCode
stream_name: String
reason: String
Trait Implementations
impl Clone for Disconnect[src]
fn clone(&self) -> Disconnect
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 Debug for Disconnect[src]
impl Eq for Disconnect[src]
impl PartialEq for Disconnect[src]
fn eq(&self, __arg_0: &Disconnect) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Disconnect) -> bool
This method tests for !=.
impl Hash for Disconnect[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.