pub struct Server {Show 48 fields
pub size: u32,
pub allow_camera_upload: bool,
pub allow_channel_access: bool,
pub allow_media_deletion: Option<bool>,
pub allow_sharing: bool,
pub allow_sync: bool,
pub allow_tuners: bool,
pub background_processing: bool,
pub certificate: Option<bool>,
pub companion_proxy: bool,
pub country_code: Option<String>,
pub diagnostics: Vec<Diagnostics>,
pub event_stream: bool,
pub friendly_name: String,
pub livetv: u8,
pub machine_identifier: String,
pub music_analysis: Option<u8>,
pub my_plex: bool,
pub my_plex_mapping_state: MappingState,
pub my_plex_mapping_error: Option<MappingError>,
pub my_plex_signin_state: MyPlexSignInState,
pub my_plex_subscription: bool,
pub my_plex_username: Option<String>,
pub offline_transcode: Option<u8>,
pub owner_features: Vec<Feature>,
pub photo_auto_tag: bool,
pub platform: String,
pub platform_version: String,
pub plugin_host: bool,
pub push_notifications: bool,
pub read_only_libraries: bool,
pub start_state: Option<StartState>,
pub streaming_brain_abr_version: u8,
pub streaming_brain_version: u8,
pub sync: bool,
pub transcoder_active_video_sessions: u8,
pub transcoder_audio: bool,
pub transcoder_lyrics: bool,
pub transcoder_subtitles: bool,
pub transcoder_video: bool,
pub transcoder_video_bitrates: Vec<u32>,
pub transcoder_video_qualities: Vec<u8>,
pub transcoder_video_resolutions: Vec<u16>,
pub updated_at: OffsetDateTime,
pub updater: bool,
pub version: String,
pub voice_search: bool,
pub media_providers: Vec<MediaProvider>,
}
Fields§
§size: u32
§allow_camera_upload: bool
§allow_channel_access: bool
§allow_media_deletion: Option<bool>
§allow_sharing: bool
§allow_sync: bool
§allow_tuners: bool
§background_processing: bool
§certificate: Option<bool>
§companion_proxy: bool
§country_code: Option<String>
§diagnostics: Vec<Diagnostics>
§event_stream: bool
§friendly_name: String
§livetv: u8
§machine_identifier: String
§music_analysis: Option<u8>
§my_plex: bool
§my_plex_mapping_state: MappingState
§my_plex_mapping_error: Option<MappingError>
§my_plex_signin_state: MyPlexSignInState
§my_plex_subscription: bool
§my_plex_username: Option<String>
§offline_transcode: Option<u8>
§owner_features: Vec<Feature>
§photo_auto_tag: bool
§platform: String
§platform_version: String
§plugin_host: bool
§push_notifications: bool
§read_only_libraries: bool
§start_state: Option<StartState>
§streaming_brain_abr_version: u8
§streaming_brain_version: u8
§sync: bool
§transcoder_active_video_sessions: u8
§transcoder_audio: bool
§transcoder_lyrics: bool
§transcoder_subtitles: bool
§transcoder_video: bool
§transcoder_video_bitrates: Vec<u32>
§transcoder_video_qualities: Vec<u8>
§transcoder_video_resolutions: Vec<u16>
§updated_at: OffsetDateTime
§updater: bool
§version: String
§voice_search: bool
§media_providers: Vec<MediaProvider>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Server
impl<'de> Deserialize<'de> for Server
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 Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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