Struct plex_api::media_container::users::User
source · pub struct User {Show 17 fields
pub id: u32,
pub title: String,
pub thumb: String,
pub protected: bool,
pub home: bool,
pub allow_sync: bool,
pub allow_camera_upload: bool,
pub allow_channels: bool,
pub allow_tuners: AllowTuners,
pub allow_subtitle_admin: bool,
pub restricted: bool,
pub filter_all: String,
pub filter_movies: String,
pub filter_music: String,
pub filter_photos: String,
pub filter_television: String,
pub servers: Option<Vec<UserServer>>,
}
Fields§
§id: u32
§title: String
§thumb: String
§protected: bool
§home: bool
§allow_sync: bool
§allow_camera_upload: bool
§allow_channels: bool
§allow_tuners: AllowTuners
§allow_subtitle_admin: bool
§restricted: bool
§filter_all: String
§filter_movies: String
§filter_music: String
§filter_photos: String
§filter_television: String
§servers: Option<Vec<UserServer>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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 RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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