pub struct MintRobotIdentity {
pub robot_did: String,
pub make: String,
pub model: String,
pub serial: String,
pub owner: Option<String>,
pub root_kind: String,
pub root_public_multibase: String,
pub attestation: Vec<u8>,
pub lifecycle: Option<Value>,
pub valid_from: String,
pub valid_until: Option<String>,
}Expand description
Parameters for mint_robot_identity. Timestamps are ISO-8601 strings the
caller supplies. attestation is the hardware root’s signature over
robot_identity_binding; root_public_multibase is that root’s public key.
Fields§
§robot_did: String§make: String§model: String§serial: String§owner: Option<String>§root_kind: String§root_public_multibase: String§attestation: Vec<u8>§lifecycle: Option<Value>Optional explicit lifecycle array; defaults to a single “commissioned” entry.
valid_from: String§valid_until: Option<String>Trait Implementations§
Source§impl Clone for MintRobotIdentity
impl Clone for MintRobotIdentity
Auto Trait Implementations§
impl Forget for MintRobotIdentity
impl Freeze for MintRobotIdentitywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for MintRobotIdentity
impl RefUnwindSafe for MintRobotIdentity
impl Send for MintRobotIdentity
impl Sync for MintRobotIdentity
impl Unpin for MintRobotIdentity
impl UnsafeUnpin for MintRobotIdentitywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for MintRobotIdentity
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