pub struct ProvisionReqV3 {
pub project_id: u32,
pub region_id: u32,
pub registry_id: u32,
pub serial_number: String,
pub access_token: String,
pub secret: String,
pub asset_type_id: i32,
}Expand description
Provision Scheme. More info: https://dimonoff.atlassian.net/wiki/spaces/F2/pages/306166693917/Provisioning#Provisioning-API-V3.
Fields§
§project_id: u32Project id on the Hub.
region_id: u32Region id on the Hub.
registry_id: u32Registry id on the Hub.
serial_number: StringSerial number of the end device to provision.
access_token: StringProvisioning token obtained from a Token file.
secret: StringThe RSA public key that will be used to validate the JWT token made by the device.
asset_type_id: i32Type of the device. The default is DEFAULT_ASSET_TYPE_ID.
Trait Implementations§
Source§impl Debug for ProvisionReqV3
impl Debug for ProvisionReqV3
Auto Trait Implementations§
impl Freeze for ProvisionReqV3
impl RefUnwindSafe for ProvisionReqV3
impl Send for ProvisionReqV3
impl Sync for ProvisionReqV3
impl Unpin for ProvisionReqV3
impl UnwindSafe for ProvisionReqV3
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