Struct tozny_auth::protocol::Presence [-] [+] [src]

pub struct Presence(_);

Methods

impl Presence

fn new(s: String) -> Presence

fn from_slice(s: &str) -> Presence

Trait Implementations

impl Newtype<String> for Presence

fn unwrap(self) -> String

fn as_slice(&self) -> &str

impl Decodable for Presence

fn decode<D: Decoder>(d: &mut D) -> Result<Presence, Error>

impl Encodable for Presence

fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), Error>

impl ToJson for Presence

fn to_json(&self) -> Json

Derived Implementations

impl Debug for Presence

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Presence

fn clone(&self) -> Presence

fn clone_from(&mut self, source: &Self)

impl Eq for Presence

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Presence

fn eq(&self, __arg_0: &Presence) -> bool

fn ne(&self, __arg_0: &Presence) -> bool