pub struct AuthenticationToken {
pub token: Option<String>,
}Expand description
An AuthenticationToken is used by the EMM’s device policy client on a device to provision the given EMM-managed user on that device.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- generate authentication token users (response)
Fields§
§token: Option<String>The authentication token to be passed to the device policy client on the device where it can be used to provision the account for which this token was generated.
Trait Implementations§
Source§impl Clone for AuthenticationToken
impl Clone for AuthenticationToken
Source§fn clone(&self) -> AuthenticationToken
fn clone(&self) -> AuthenticationToken
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 AuthenticationToken
impl Debug for AuthenticationToken
Source§impl Default for AuthenticationToken
impl Default for AuthenticationToken
Source§fn default() -> AuthenticationToken
fn default() -> AuthenticationToken
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationToken
impl<'de> Deserialize<'de> for AuthenticationToken
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 Serialize for AuthenticationToken
impl Serialize for AuthenticationToken
impl ResponseResult for AuthenticationToken
Auto Trait Implementations§
impl Freeze for AuthenticationToken
impl RefUnwindSafe for AuthenticationToken
impl Send for AuthenticationToken
impl Sync for AuthenticationToken
impl Unpin for AuthenticationToken
impl UnwindSafe for AuthenticationToken
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