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

pub struct Secret(_);

Methods

impl Secret

fn new(s: String) -> Secret

fn from_slice(s: &str) -> Secret

Trait Implementations

impl Newtype<String> for Secret

fn unwrap(self) -> String

fn as_slice(&self) -> &str

impl Decodable for Secret

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

impl Encodable for Secret

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

impl ToJson for Secret

fn to_json(&self) -> Json

Derived Implementations

impl Debug for Secret

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

impl Clone for Secret

fn clone(&self) -> Secret

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

impl Eq for Secret

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Secret

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

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