[][src]Struct twilight_model::gateway::payload::identify::IdentifyProperties

pub struct IdentifyProperties {
    pub browser: String,
    pub device: String,
    pub os: String,
    pub referrer: String,
    pub referring_domain: String,
}

Fields

browser: Stringdevice: Stringos: Stringreferrer: Stringreferring_domain: String

Implementations

impl IdentifyProperties[src]

pub fn new(
    browser: impl Into<String>,
    device: impl Into<String>,
    os: impl Into<String>,
    referrer: impl Into<String>,
    referring_domain: impl Into<String>
) -> Self
[src]

Trait Implementations

impl Clone for IdentifyProperties[src]

impl Debug for IdentifyProperties[src]

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

impl Eq for IdentifyProperties[src]

impl Hash for IdentifyProperties[src]

impl PartialEq<IdentifyProperties> for IdentifyProperties[src]

impl Serialize for IdentifyProperties[src]

impl StructuralEq for IdentifyProperties[src]

impl StructuralPartialEq for IdentifyProperties[src]

Auto Trait Implementations

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

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

impl<T> Instrument 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.