[][src]Struct sync15::clients::record::ClientRecord

pub struct ClientRecord {
    pub id: String,
    pub name: String,
    pub typ: Option<String>,
    pub commands: Vec<CommandRecord>,
    pub fxa_device_id: Option<String>,
    pub version: Option<String>,
    pub protocols: Vec<String>,
    pub form_factor: Option<String>,
    pub os: Option<String>,
    pub app_package: Option<String>,
    pub application: Option<String>,
    pub device: Option<String>,
    pub ttl: u32,
}

The serialized form of a client record.

Fields

id: Stringname: Stringtyp: Option<String>commands: Vec<CommandRecord>fxa_device_id: Option<String>version: Option<String>

version, protocols, formfactor, os, appPackage, application, and device are unused and optional in all implementations (Desktop, iOS, and Fennec), but we round-trip them.

protocols: Vec<String>form_factor: Option<String>os: Option<String>app_package: Option<String>application: Option<String>device: Option<String>

The model of the device, like "iPhone" or "iPod touch" on iOS. Note that this is not the client ID (id) or the FxA device ID (fxa_device_id).

ttl: u32

Trait Implementations

impl Clone for ClientRecord[src]

impl Debug for ClientRecord[src]

impl<'de> Deserialize<'de> for ClientRecord[src]

impl Eq for ClientRecord[src]

impl<'_> From<&'_ ClientRecord> for RemoteClient[src]

impl Hash for ClientRecord[src]

impl PartialEq<ClientRecord> for ClientRecord[src]

impl Serialize for ClientRecord[src]

impl StructuralEq for ClientRecord[src]

impl StructuralPartialEq for ClientRecord[src]

Auto Trait Implementations

impl RefUnwindSafe for ClientRecord

impl Send for ClientRecord

impl Sync for ClientRecord

impl Unpin for ClientRecord

impl UnwindSafe for ClientRecord

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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>,