pub struct PlexAuthenticationChallenge {
pub type: ChallengeChoices,
pub flow_info: Option<Box<ContextualFlowInfo>>,
pub component: Option<String>,
pub response_errors: Option<HashMap<String, Vec<ErrorDetail>>>,
pub client_id: String,
pub slug: String,
}
Expand description
PlexAuthenticationChallenge : Challenge shown to the user in identification stage
Fields§
§type: ChallengeChoices
§flow_info: Option<Box<ContextualFlowInfo>>
§component: Option<String>
§response_errors: Option<HashMap<String, Vec<ErrorDetail>>>
§client_id: String
§slug: String
Implementations§
Source§impl PlexAuthenticationChallenge
impl PlexAuthenticationChallenge
Sourcepub fn new(
type: ChallengeChoices,
client_id: String,
slug: String,
) -> PlexAuthenticationChallenge
pub fn new( type: ChallengeChoices, client_id: String, slug: String, ) -> PlexAuthenticationChallenge
Challenge shown to the user in identification stage
Trait Implementations§
Source§impl Clone for PlexAuthenticationChallenge
impl Clone for PlexAuthenticationChallenge
Source§fn clone(&self) -> PlexAuthenticationChallenge
fn clone(&self) -> PlexAuthenticationChallenge
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 PlexAuthenticationChallenge
impl Debug for PlexAuthenticationChallenge
Source§impl Default for PlexAuthenticationChallenge
impl Default for PlexAuthenticationChallenge
Source§fn default() -> PlexAuthenticationChallenge
fn default() -> PlexAuthenticationChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlexAuthenticationChallenge
impl<'de> Deserialize<'de> for PlexAuthenticationChallenge
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
impl StructuralPartialEq for PlexAuthenticationChallenge
Auto Trait Implementations§
impl Freeze for PlexAuthenticationChallenge
impl RefUnwindSafe for PlexAuthenticationChallenge
impl Send for PlexAuthenticationChallenge
impl Sync for PlexAuthenticationChallenge
impl Unpin for PlexAuthenticationChallenge
impl UnwindSafe for PlexAuthenticationChallenge
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