pub struct IdentityEnrollmentRequest {
pub code: String,
pub initial_key_hash: String,
}Expand description
A client must durably save the corresponding key before sending this request.
JSON schema
{
"description": "A client must durably save the corresponding key before sending this request.",
"type": "object",
"required": [
"code",
"initialKeyHash"
],
"properties": {
"code": {
"type": "string"
},
"initialKeyHash": {
"type": "string"
}
},
"additionalProperties": false
}Fields§
§code: String§initial_key_hash: StringImplementations§
Source§impl IdentityEnrollmentRequest
impl IdentityEnrollmentRequest
pub fn builder() -> IdentityEnrollmentRequest
Trait Implementations§
Source§impl Clone for IdentityEnrollmentRequest
impl Clone for IdentityEnrollmentRequest
Source§impl Debug for IdentityEnrollmentRequest
impl Debug for IdentityEnrollmentRequest
Source§impl<'de> Deserialize<'de> for IdentityEnrollmentRequest
impl<'de> Deserialize<'de> for IdentityEnrollmentRequest
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
Source§impl From<&IdentityEnrollmentRequest> for IdentityEnrollmentRequest
impl From<&IdentityEnrollmentRequest> for IdentityEnrollmentRequest
Source§fn from(value: &IdentityEnrollmentRequest) -> Self
fn from(value: &IdentityEnrollmentRequest) -> Self
Converts to this type from the input type.
Source§impl From<IdentityEnrollmentRequest> for IdentityEnrollmentRequest
impl From<IdentityEnrollmentRequest> for IdentityEnrollmentRequest
Source§fn from(value: IdentityEnrollmentRequest) -> Self
fn from(value: IdentityEnrollmentRequest) -> Self
Converts to this type from the input type.
Source§impl TryFrom<IdentityEnrollmentRequest> for IdentityEnrollmentRequest
impl TryFrom<IdentityEnrollmentRequest> for IdentityEnrollmentRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: IdentityEnrollmentRequest) -> Result<Self, ConversionError>
fn try_from(value: IdentityEnrollmentRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for IdentityEnrollmentRequest
impl Freeze for IdentityEnrollmentRequest
impl Move for IdentityEnrollmentRequest
impl RefUnwindSafe for IdentityEnrollmentRequest
impl Send for IdentityEnrollmentRequest
impl Sync for IdentityEnrollmentRequest
impl Unpin for IdentityEnrollmentRequest
impl UnsafeUnpin for IdentityEnrollmentRequest
impl UnwindSafe for IdentityEnrollmentRequest
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