Struct Server

Source
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 Clone for Server

Source§

fn clone(&self) -> Server

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Server

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Server

Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,