pub struct CreateDelegationForEndUserAccountBody {
pub expires_at: DateTime<Utc>,
pub wallet_secret_id: CreateDelegationForEndUserAccountBodyWalletSecretId,
}Expand description
CreateDelegationForEndUserAccountBody
JSON schema
{
"type": "object",
"required": [
"expiresAt",
"walletSecretId"
],
"properties": {
"expiresAt": {
"description": "The date until which the delegation is valid.",
"examples": [
"2026-02-03T10:35:00Z"
],
"type": "string",
"format": "date-time"
},
"walletSecretId": {
"description": "The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.",
"examples": [
"e051beeb-7163-4527-a5b6-35e301529ff2"
],
"type": "string",
"pattern": "^[a-zA-Z0-9-]{1,100}$"
}
}
}Fields§
§expires_at: DateTime<Utc>The date until which the delegation is valid.
wallet_secret_id: CreateDelegationForEndUserAccountBodyWalletSecretIdThe ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.
Implementations§
Trait Implementations§
Source§impl Clone for CreateDelegationForEndUserAccountBody
impl Clone for CreateDelegationForEndUserAccountBody
Source§fn clone(&self) -> CreateDelegationForEndUserAccountBody
fn clone(&self) -> CreateDelegationForEndUserAccountBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for CreateDelegationForEndUserAccountBody
impl<'de> Deserialize<'de> for CreateDelegationForEndUserAccountBody
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<&CreateDelegationForEndUserAccountBody> for CreateDelegationForEndUserAccountBody
impl From<&CreateDelegationForEndUserAccountBody> for CreateDelegationForEndUserAccountBody
Source§fn from(value: &CreateDelegationForEndUserAccountBody) -> Self
fn from(value: &CreateDelegationForEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl From<CreateDelegationForEndUserAccountBody> for CreateDelegationForEndUserAccountBody
impl From<CreateDelegationForEndUserAccountBody> for CreateDelegationForEndUserAccountBody
Source§fn from(value: CreateDelegationForEndUserAccountBody) -> Self
fn from(value: CreateDelegationForEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CreateDelegationForEndUserAccountBody> for CreateDelegationForEndUserAccountBody
impl TryFrom<CreateDelegationForEndUserAccountBody> for CreateDelegationForEndUserAccountBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: CreateDelegationForEndUserAccountBody,
) -> Result<Self, ConversionError>
fn try_from( value: CreateDelegationForEndUserAccountBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateDelegationForEndUserAccountBody
impl RefUnwindSafe for CreateDelegationForEndUserAccountBody
impl Send for CreateDelegationForEndUserAccountBody
impl Sync for CreateDelegationForEndUserAccountBody
impl Unpin for CreateDelegationForEndUserAccountBody
impl UnsafeUnpin for CreateDelegationForEndUserAccountBody
impl UnwindSafe for CreateDelegationForEndUserAccountBody
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