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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for JellyfinKey
impl Send for JellyfinKey
impl Sync for JellyfinKey
impl Unpin for JellyfinKey
impl UnwindSafe for JellyfinKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
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