pub struct DeviceCredential {
pub server_url: String,
pub device_id: String,
pub api_key: String,
pub username: String,
pub team: Option<String>,
pub enrolled_at: String,
}Expand description
Stored device credential — saved locally after enrollment.
Fields§
§server_url: String§device_id: String§api_key: String§username: String§team: Option<String>§enrolled_at: StringTrait Implementations§
Source§impl Clone for DeviceCredential
impl Clone for DeviceCredential
Source§fn clone(&self) -> DeviceCredential
fn clone(&self) -> DeviceCredential
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 DeviceCredential
impl Debug for DeviceCredential
Source§impl<'de> Deserialize<'de> for DeviceCredential
impl<'de> Deserialize<'de> for DeviceCredential
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 DeviceCredential
impl RefUnwindSafe for DeviceCredential
impl Send for DeviceCredential
impl Sync for DeviceCredential
impl Unpin for DeviceCredential
impl UnsafeUnpin for DeviceCredential
impl UnwindSafe for DeviceCredential
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