pub struct GatewayOAuthPrompt {
pub login_id: String,
pub user_code: String,
pub verification_url: String,
}Expand description
Device-authorization code the user enters at verification_url. The
matching account/gatewayOAuth/changed notification carries the same
login_id.
Fields§
§login_id: String§user_code: String§verification_url: StringTrait Implementations§
Source§impl Clone for GatewayOAuthPrompt
impl Clone for GatewayOAuthPrompt
Source§impl Debug for GatewayOAuthPrompt
Redacts user_code and verification_url, matching upstream.
impl Debug for GatewayOAuthPrompt
Redacts user_code and verification_url, matching upstream.
Source§impl Default for GatewayOAuthPrompt
impl Default for GatewayOAuthPrompt
Source§impl<'de> Deserialize<'de> for GatewayOAuthPrompt
impl<'de> Deserialize<'de> for GatewayOAuthPrompt
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 GatewayOAuthPrompt
impl PartialEq for GatewayOAuthPrompt
Source§impl Serialize for GatewayOAuthPrompt
impl Serialize for GatewayOAuthPrompt
impl StructuralPartialEq for GatewayOAuthPrompt
Auto Trait Implementations§
impl Forget for GatewayOAuthPrompt
impl Freeze for GatewayOAuthPrompt
impl RefUnwindSafe for GatewayOAuthPrompt
impl Send for GatewayOAuthPrompt
impl Sync for GatewayOAuthPrompt
impl Unpin for GatewayOAuthPrompt
impl UnsafeUnpin for GatewayOAuthPrompt
impl UnwindSafe for GatewayOAuthPrompt
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