[][src]Struct sync15::clients::Settings

pub struct Settings {
    pub fxa_device_id: String,
    pub device_name: String,
    pub device_type: DeviceType,
}

Information about this device to include in its client record. This should be persisted across syncs, as part of the sync manager state.

Fields

fxa_device_id: String

The FxA device ID of this client, also used as this client's record ID in the clients collection.

device_name: String

The name of this client. This should match the client's name in the FxA device manager.

device_type: DeviceType

The type of this client: mobile, tablet, desktop, or other.

Trait Implementations

impl Clone for Settings[src]

impl Debug for Settings[src]

impl Eq for Settings[src]

impl Hash for Settings[src]

impl PartialEq<Settings> for Settings[src]

impl StructuralEq for Settings[src]

impl StructuralPartialEq for Settings[src]

Auto Trait Implementations

impl RefUnwindSafe for Settings

impl Send for Settings

impl Sync for Settings

impl Unpin for Settings

impl UnwindSafe for Settings

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> CallHasher for T where
    T: Hash

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>,