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: u16
§access_token: String
§device_id: String
§app_name: String
§app_version: String
§device_name: String
§user_id: String
§is_active: bool
§date_created: String
§date_revoked: Option<String>
§date_last_activity: String
§user_name: Option<String>
Trait Implementations§
Source§impl Debug for JellyfinKey
impl Debug for JellyfinKey
Source§impl<'de> Deserialize<'de> for JellyfinKey
impl<'de> Deserialize<'de> for JellyfinKey
Source§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 Freeze for JellyfinKey
impl RefUnwindSafe for JellyfinKey
impl Send for JellyfinKey
impl Sync for JellyfinKey
impl Unpin for JellyfinKey
impl UnwindSafe for JellyfinKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more