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

pub struct UserId(_);

Methods

impl UserId

fn new(s: String) -> UserId

fn from_slice(s: &str) -> UserId

Trait Implementations

impl Newtype<String> for UserId

fn unwrap(self) -> String

fn as_slice(&self) -> &str

impl Decodable for UserId

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

impl Encodable for UserId

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

impl ToJson for UserId

fn to_json(&self) -> Json

Derived Implementations

impl Debug for UserId

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

impl Clone for UserId

fn clone(&self) -> UserId

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

impl Eq for UserId

fn assert_receiver_is_total_eq(&self)

impl PartialEq for UserId

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

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