pub struct ExternalDeviceTokenResult {
pub external_device: ExternalDeviceInfo,
pub token: ApiKey,
}Expand description
Result of EXTERNAL_DEVICE_ADD and
EXTERNAL_DEVICE_ROTATE: the record and its new token,
which is never available again. Debug hides the token.
Fields§
§external_device: ExternalDeviceInfoThe record.
token: ApiKeyThe token to give the external device.
Trait Implementations§
Source§impl Clone for ExternalDeviceTokenResult
impl Clone for ExternalDeviceTokenResult
Source§impl Debug for ExternalDeviceTokenResult
impl Debug for ExternalDeviceTokenResult
Source§impl<'de> Deserialize<'de> for ExternalDeviceTokenResult
impl<'de> Deserialize<'de> for ExternalDeviceTokenResult
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 ExternalDeviceTokenResult
impl RefUnwindSafe for ExternalDeviceTokenResult
impl Send for ExternalDeviceTokenResult
impl Sync for ExternalDeviceTokenResult
impl Unpin for ExternalDeviceTokenResult
impl UnsafeUnpin for ExternalDeviceTokenResult
impl UnwindSafe for ExternalDeviceTokenResult
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