pub struct DeviceCodeInfo {
pub user_code: String,
pub verification_uri: String,
pub message: String,
}Expand description
Information required for Azure AD Device Code Flow authentication.
This struct contains the user code and verification URL that the user needs to complete the device code authentication flow.
Fields§
§user_code: StringThe user code to be entered on the verification page
verification_uri: StringThe URL where the user should enter the code
message: StringHuman-readable message with authentication instructions
Trait Implementations§
Source§impl Clone for DeviceCodeInfo
impl Clone for DeviceCodeInfo
Source§fn clone(&self) -> DeviceCodeInfo
fn clone(&self) -> DeviceCodeInfo
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 DeviceCodeInfo
impl Debug for DeviceCodeInfo
Source§impl<'de> Deserialize<'de> for DeviceCodeInfo
impl<'de> Deserialize<'de> for DeviceCodeInfo
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
Auto Trait Implementations§
impl Freeze for DeviceCodeInfo
impl RefUnwindSafe for DeviceCodeInfo
impl Send for DeviceCodeInfo
impl Sync for DeviceCodeInfo
impl Unpin for DeviceCodeInfo
impl UnwindSafe for DeviceCodeInfo
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