Struct jellyfin_sdk_rust::models::keys::JellyfinKey[][src]

pub struct JellyfinKey {
    pub id: u16,
    pub access_token: String,
    pub device_id: String,
    pub app_name: String,
    pub app_version: String,
    pub device_name: String,
    pub user_id: String,
    pub is_active: bool,
    pub date_created: String,
    pub date_revoked: Option<String>,
    pub date_last_activity: String,
    pub user_name: Option<String>,
}
Expand description

Structure received from /Auth/Keys API calls.

Fields

id: u16access_token: Stringdevice_id: Stringapp_name: Stringapp_version: Stringdevice_name: Stringuser_id: Stringis_active: booldate_created: Stringdate_revoked: Option<String>date_last_activity: Stringuser_name: Option<String>

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more