pub struct ProvisionRequestV3<'a> {
pub project_id: u32,
pub region_id: u32,
pub registry_id: u32,
pub serial_number: &'a str,
pub asset_type_id: i32,
pub access_token: &'a str,
pub algorithm: &'a DeviceIdentityTag,
pub secret: &'a str,
}
Expand description
Provisioning Scheme. More information in the documentation.
Fields§
§project_id: u32
Project id on the Hub
region_id: u32
Region id on the Hub
registry_id: u32
Registry id on the Hub
serial_number: &'a str
Device’s serial number
asset_type_id: i32
Type of the device
access_token: &'a str
Provisioning token obtained from a registry’s token file
algorithm: &'a DeviceIdentityTag
Cryptography algorithm
secret: &'a str
The secret used to authenticate the device
Trait Implementations§
Source§impl<'a> Format for ProvisionRequestV3<'a>where
&'a DeviceIdentityTag: Format,
impl<'a> Format for ProvisionRequestV3<'a>where
&'a DeviceIdentityTag: Format,
Auto Trait Implementations§
impl<'a> Freeze for ProvisionRequestV3<'a>
impl<'a> RefUnwindSafe for ProvisionRequestV3<'a>
impl<'a> Send for ProvisionRequestV3<'a>
impl<'a> Sync for ProvisionRequestV3<'a>
impl<'a> Unpin for ProvisionRequestV3<'a>
impl<'a> UnwindSafe for ProvisionRequestV3<'a>
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