pub struct DeviceLinkResult {
pub device_did: DeviceDID,
pub attestation_id: ResourceId,
}Expand description
Outcome of a successful device link operation.
Usage:
ⓘ
let result: DeviceLinkResult = sdk.link_device(config).await?;
println!("Linked device {} via attestation {}", result.device_did, result.attestation_id);Fields§
§device_did: DeviceDIDThe DID of the linked device.
attestation_id: ResourceIdThe resource identifier of the created attestation.
Trait Implementations§
Source§impl Clone for DeviceLinkResult
impl Clone for DeviceLinkResult
Source§fn clone(&self) -> DeviceLinkResult
fn clone(&self) -> DeviceLinkResult
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 moreAuto Trait Implementations§
impl Freeze for DeviceLinkResult
impl RefUnwindSafe for DeviceLinkResult
impl Send for DeviceLinkResult
impl Sync for DeviceLinkResult
impl Unpin for DeviceLinkResult
impl UnsafeUnpin for DeviceLinkResult
impl UnwindSafe for DeviceLinkResult
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