pub enum DeviceCodeFlowEvent {
Code {
verification_uri: String,
verification_uri_complete: Option<String>,
user_code: String,
message: Option<String>,
},
Waiting,
Success,
}Expand description
Progress updates emitted during OAuth device code authentication.
Variants§
Trait Implementations§
Source§impl Clone for DeviceCodeFlowEvent
impl Clone for DeviceCodeFlowEvent
Source§fn clone(&self) -> DeviceCodeFlowEvent
fn clone(&self) -> DeviceCodeFlowEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeviceCodeFlowEvent
impl RefUnwindSafe for DeviceCodeFlowEvent
impl Send for DeviceCodeFlowEvent
impl Sync for DeviceCodeFlowEvent
impl Unpin for DeviceCodeFlowEvent
impl UnsafeUnpin for DeviceCodeFlowEvent
impl UnwindSafe for DeviceCodeFlowEvent
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