[][src]Struct fxa_client::msg_types::Profile

pub struct Profile {
    pub uid: Option<String>,
    pub email: Option<String>,
    pub avatar: Option<String>,
    pub avatar_default: Option<bool>,
    pub display_name: Option<String>,
}

Fields

uid: Option<String>email: Option<String>avatar: Option<String>avatar_default: Option<bool>display_name: Option<String>

Implementations

impl Profile[src]

pub fn uid(&self) -> &str[src]

Returns the value of uid, or the default value if uid is unset.

pub fn email(&self) -> &str[src]

Returns the value of email, or the default value if email is unset.

pub fn avatar(&self) -> &str[src]

Returns the value of avatar, or the default value if avatar is unset.

pub fn avatar_default(&self) -> bool[src]

Returns the value of avatar_default, or the default value if avatar_default is unset.

pub fn display_name(&self) -> &str[src]

Returns the value of display_name, or the default value if display_name is unset.

Trait Implementations

impl Clone for Profile[src]

impl Debug for Profile[src]

impl Default for Profile[src]

impl From<ProfileResponse> for Profile[src]

impl IntoFfi for Profile where
    Profile: Message
[src]

type Value = ByteBuffer

This type must be: Read more

impl Message for Profile[src]

impl PartialEq<Profile> for Profile[src]

impl StructuralPartialEq for Profile[src]

Auto Trait Implementations

impl RefUnwindSafe for Profile

impl Send for Profile

impl Sync for Profile

impl Unpin for Profile

impl UnwindSafe for Profile

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,