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

pub struct Method(_);

Methods

impl Method

fn new(s: String) -> Method

fn from_slice(s: &str) -> Method

Trait Implementations

impl Newtype<String> for Method

fn unwrap(self) -> String

fn as_slice(&self) -> &str

impl Decodable for Method

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

impl Encodable for Method

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

impl ToJson for Method

fn to_json(&self) -> Json

Derived Implementations

impl Debug for Method

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

impl Clone for Method

fn clone(&self) -> Method

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

impl Eq for Method

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Method

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

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