pub struct MachineIdentityResolutionRequest {
pub identifier: String,
pub provider: String,
pub signature: Option<String>,
pub device_key: Option<String>,
pub machine_type_hint: Option<MachineType>,
}Expand description
G-C2: Machine identity resolution request — extends existing CON-66 identity stack to support autonomous machine participants.
Fields§
§identifier: StringMachine DID or device public key to resolve
provider: StringProvider: “peaq”, “dimo”, “device_key”
signature: Option<String>BIP-322 or Schnorr proof-of-possession signature (optional)
device_key: Option<String>Schnorr x-only public key for signature verification (required for peaq/dimo if signature is provided)
machine_type_hint: Option<MachineType>If set, the resolution targets a specific machine identity variant
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MachineIdentityResolutionRequest
impl<'de> Deserialize<'de> for MachineIdentityResolutionRequest
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 MachineIdentityResolutionRequest
impl RefUnwindSafe for MachineIdentityResolutionRequest
impl Send for MachineIdentityResolutionRequest
impl Sync for MachineIdentityResolutionRequest
impl Unpin for MachineIdentityResolutionRequest
impl UnsafeUnpin for MachineIdentityResolutionRequest
impl UnwindSafe for MachineIdentityResolutionRequest
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