Struct plex_api::sharing::SharedServer
source · pub struct SharedServer {Show 19 fields
pub id: u32,
pub name: String,
pub owner_id: u32,
pub invited_id: u32,
pub invited_email: Option<String>,
pub server_id: u32,
pub accepted: bool,
pub accepted_at: Option<OffsetDateTime>,
pub deleted_at: Option<OffsetDateTime>,
pub left_at: Option<OffsetDateTime>,
pub owned: bool,
pub invite_token: Option<String>,
pub machine_identifier: String,
pub last_seen_at: Option<OffsetDateTime>,
pub num_libraries: u16,
pub sharing_settings: Settings,
pub libraries: Vec<LibrarySection>,
pub all_libraries: bool,
pub invited: Option<Friend>,
}
Fields§
§id: u32
§name: String
§owner_id: u32
§invited_id: u32
§invited_email: Option<String>
§server_id: u32
§accepted: bool
§accepted_at: Option<OffsetDateTime>
§deleted_at: Option<OffsetDateTime>
§left_at: Option<OffsetDateTime>
§owned: bool
§invite_token: Option<String>
§machine_identifier: String
§last_seen_at: Option<OffsetDateTime>
§num_libraries: u16
§sharing_settings: Settings
§libraries: Vec<LibrarySection>
§all_libraries: bool
§invited: Option<Friend>
Trait Implementations§
source§fn clone(&self) -> SharedServer
fn clone(&self) -> SharedServer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§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§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more