pub struct PlexLink {
pub username: Option<String>,
pub email: Option<String>,
pub by_config: bool,
pub linked_at: Option<SystemTime>,
pub last_sync: Option<PlexSyncSummary>,
pub syncing: bool,
}Expand description
A linked Plex account: the user’s watch state syncs with it.
Fields§
§username: Option<String>The Plex account’s username and email, as plex.tv said when it was
linked; both None for a link the server’s config file makes.
email: Option<String>§by_config: boolLinked by the server’s config file, as the Plex servers’ owner: only that file can unlink it, not the web UI.
linked_at: Option<SystemTime>When it was linked (Unix seconds on the wire); None for the
config’s.
last_sync: Option<PlexSyncSummary>The user’s last sync run since the server started, if any.
syncing: boolA sync run of theirs is going on now.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlexLink
impl<'de> Deserialize<'de> for PlexLink
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
impl Eq for PlexLink
impl StructuralPartialEq for PlexLink
Auto Trait Implementations§
impl Forget for PlexLink
impl Freeze for PlexLink
impl Move for PlexLink
impl RefUnwindSafe for PlexLink
impl Send for PlexLink
impl Sync for PlexLink
impl Unpin for PlexLink
impl UnsafeUnpin for PlexLink
impl UnwindSafe for PlexLink
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