pub struct PatchedPlexSourceRequest {Show 17 fields
pub name: Option<String>,
pub slug: Option<String>,
pub enabled: Option<bool>,
pub promoted: Option<bool>,
pub authentication_flow: Option<Option<Uuid>>,
pub enrollment_flow: Option<Option<Uuid>>,
pub user_property_mappings: Option<Vec<Uuid>>,
pub group_property_mappings: Option<Vec<Uuid>>,
pub policy_engine_mode: Option<PolicyEngineMode>,
pub user_matching_mode: Option<UserMatchingModeEnum>,
pub user_path_template: Option<String>,
pub icon: Option<String>,
pub group_matching_mode: Option<GroupMatchingModeEnum>,
pub client_id: Option<String>,
pub allowed_servers: Option<Vec<String>>,
pub allow_friends: Option<bool>,
pub plex_token: Option<String>,
}Expand description
PatchedPlexSourceRequest : Plex Source Serializer
Fields§
§name: Option<String>Source’s display Name.
slug: Option<String>Internal source name, used in URLs.
enabled: Option<bool>§promoted: Option<bool>When enabled, this source will be displayed as a prominent button on the login page, instead of a small icon.
authentication_flow: Option<Option<Uuid>>Flow to use when authenticating existing users.
enrollment_flow: Option<Option<Uuid>>Flow to use when enrolling new users.
user_property_mappings: Option<Vec<Uuid>>§group_property_mappings: Option<Vec<Uuid>>§policy_engine_mode: Option<PolicyEngineMode>§user_matching_mode: Option<UserMatchingModeEnum>How the source determines if an existing user should be authenticated or a new user enrolled.
user_path_template: Option<String>§icon: Option<String>§group_matching_mode: Option<GroupMatchingModeEnum>How the source determines if an existing group should be used or a new group created.
client_id: Option<String>Client identifier used to talk to Plex.
allowed_servers: Option<Vec<String>>Which servers a user has to be a member of to be granted access. Empty list allows every server.
allow_friends: Option<bool>Allow friends to authenticate, even if you don’t share a server.
plex_token: Option<String>Plex token used to check friends
Implementations§
Source§impl PatchedPlexSourceRequest
impl PatchedPlexSourceRequest
Sourcepub fn new() -> PatchedPlexSourceRequest
pub fn new() -> PatchedPlexSourceRequest
Plex Source Serializer
Trait Implementations§
Source§impl Clone for PatchedPlexSourceRequest
impl Clone for PatchedPlexSourceRequest
Source§fn clone(&self) -> PatchedPlexSourceRequest
fn clone(&self) -> PatchedPlexSourceRequest
Returns a duplicate 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§impl Debug for PatchedPlexSourceRequest
impl Debug for PatchedPlexSourceRequest
Source§impl Default for PatchedPlexSourceRequest
impl Default for PatchedPlexSourceRequest
Source§fn default() -> PatchedPlexSourceRequest
fn default() -> PatchedPlexSourceRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedPlexSourceRequest
impl<'de> Deserialize<'de> for PatchedPlexSourceRequest
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
Source§impl PartialEq for PatchedPlexSourceRequest
impl PartialEq for PatchedPlexSourceRequest
Source§impl Serialize for PatchedPlexSourceRequest
impl Serialize for PatchedPlexSourceRequest
impl StructuralPartialEq for PatchedPlexSourceRequest
Auto Trait Implementations§
impl Freeze for PatchedPlexSourceRequest
impl RefUnwindSafe for PatchedPlexSourceRequest
impl Send for PatchedPlexSourceRequest
impl Sync for PatchedPlexSourceRequest
impl Unpin for PatchedPlexSourceRequest
impl UnsafeUnpin for PatchedPlexSourceRequest
impl UnwindSafe for PatchedPlexSourceRequest
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