pub struct OAuthDeviceCodeChallengeResponseRequest {
pub component: Option<String>,
pub code: i32,
}
Expand description
OAuthDeviceCodeChallengeResponseRequest : Response that includes the user-entered device code
Fields§
§component: Option<String>
§code: i32
Implementations§
Source§impl OAuthDeviceCodeChallengeResponseRequest
impl OAuthDeviceCodeChallengeResponseRequest
Sourcepub fn new(code: i32) -> OAuthDeviceCodeChallengeResponseRequest
pub fn new(code: i32) -> OAuthDeviceCodeChallengeResponseRequest
Response that includes the user-entered device code
Trait Implementations§
Source§impl Clone for OAuthDeviceCodeChallengeResponseRequest
impl Clone for OAuthDeviceCodeChallengeResponseRequest
Source§fn clone(&self) -> OAuthDeviceCodeChallengeResponseRequest
fn clone(&self) -> OAuthDeviceCodeChallengeResponseRequest
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 OAuthDeviceCodeChallengeResponseRequest
impl Default for OAuthDeviceCodeChallengeResponseRequest
Source§fn default() -> OAuthDeviceCodeChallengeResponseRequest
fn default() -> OAuthDeviceCodeChallengeResponseRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuthDeviceCodeChallengeResponseRequest
impl<'de> Deserialize<'de> for OAuthDeviceCodeChallengeResponseRequest
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 OAuthDeviceCodeChallengeResponseRequest
impl PartialEq for OAuthDeviceCodeChallengeResponseRequest
Source§fn eq(&self, other: &OAuthDeviceCodeChallengeResponseRequest) -> bool
fn eq(&self, other: &OAuthDeviceCodeChallengeResponseRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OAuthDeviceCodeChallengeResponseRequest
Auto Trait Implementations§
impl Freeze for OAuthDeviceCodeChallengeResponseRequest
impl RefUnwindSafe for OAuthDeviceCodeChallengeResponseRequest
impl Send for OAuthDeviceCodeChallengeResponseRequest
impl Sync for OAuthDeviceCodeChallengeResponseRequest
impl Unpin for OAuthDeviceCodeChallengeResponseRequest
impl UnwindSafe for OAuthDeviceCodeChallengeResponseRequest
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