pub struct OAuthDeviceCodeFinishChallenge {
pub type: ChallengeChoices,
pub flow_info: Option<Box<ContextualFlowInfo>>,
pub component: Option<String>,
pub response_errors: Option<HashMap<String, Vec<ErrorDetail>>>,
}
Expand description
OAuthDeviceCodeFinishChallenge : Final challenge after user enters their code
Fields§
§type: ChallengeChoices
§flow_info: Option<Box<ContextualFlowInfo>>
§component: Option<String>
§response_errors: Option<HashMap<String, Vec<ErrorDetail>>>
Implementations§
Source§impl OAuthDeviceCodeFinishChallenge
impl OAuthDeviceCodeFinishChallenge
Sourcepub fn new(type: ChallengeChoices) -> OAuthDeviceCodeFinishChallenge
pub fn new(type: ChallengeChoices) -> OAuthDeviceCodeFinishChallenge
Final challenge after user enters their code
Trait Implementations§
Source§impl Clone for OAuthDeviceCodeFinishChallenge
impl Clone for OAuthDeviceCodeFinishChallenge
Source§fn clone(&self) -> OAuthDeviceCodeFinishChallenge
fn clone(&self) -> OAuthDeviceCodeFinishChallenge
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 Default for OAuthDeviceCodeFinishChallenge
impl Default for OAuthDeviceCodeFinishChallenge
Source§fn default() -> OAuthDeviceCodeFinishChallenge
fn default() -> OAuthDeviceCodeFinishChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuthDeviceCodeFinishChallenge
impl<'de> Deserialize<'de> for OAuthDeviceCodeFinishChallenge
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 OAuthDeviceCodeFinishChallenge
impl PartialEq for OAuthDeviceCodeFinishChallenge
Source§fn eq(&self, other: &OAuthDeviceCodeFinishChallenge) -> bool
fn eq(&self, other: &OAuthDeviceCodeFinishChallenge) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OAuthDeviceCodeFinishChallenge
Auto Trait Implementations§
impl Freeze for OAuthDeviceCodeFinishChallenge
impl RefUnwindSafe for OAuthDeviceCodeFinishChallenge
impl Send for OAuthDeviceCodeFinishChallenge
impl Sync for OAuthDeviceCodeFinishChallenge
impl Unpin for OAuthDeviceCodeFinishChallenge
impl UnwindSafe for OAuthDeviceCodeFinishChallenge
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