pub struct RevokeDelegationRequest {
pub wallet_secret_id: Option<RevokeDelegationRequestWalletSecretId>,
}Expand description
The request body for revoking a user-scoped or account-scoped delegation.
JSON schema
{
"description": "The request body for revoking a user-scoped or account-scoped delegation.",
"examples": [
{
"walletSecretId": "e051beeb-7163-4527-a5b6-35e301529ff2"
}
],
"type": "object",
"properties": {
"walletSecretId": {
"description": "When revoking with a wallet authentication scheme, 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§
§wallet_secret_id: Option<RevokeDelegationRequestWalletSecretId>When revoking with a wallet authentication scheme, the ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.
Implementations§
Source§impl RevokeDelegationRequest
impl RevokeDelegationRequest
pub fn builder() -> RevokeDelegationRequest
Trait Implementations§
Source§impl Clone for RevokeDelegationRequest
impl Clone for RevokeDelegationRequest
Source§impl Debug for RevokeDelegationRequest
impl Debug for RevokeDelegationRequest
Source§impl Default for RevokeDelegationRequest
impl Default for RevokeDelegationRequest
Source§impl<'de> Deserialize<'de> for RevokeDelegationRequest
impl<'de> Deserialize<'de> for RevokeDelegationRequest
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<&RevokeDelegationRequest> for RevokeDelegationRequest
impl From<&RevokeDelegationRequest> for RevokeDelegationRequest
Source§fn from(value: &RevokeDelegationRequest) -> Self
fn from(value: &RevokeDelegationRequest) -> Self
Converts to this type from the input type.
Source§impl From<RevokeDelegationRequest> for RevokeDelegationRequest
impl From<RevokeDelegationRequest> for RevokeDelegationRequest
Source§fn from(value: RevokeDelegationRequest) -> Self
fn from(value: RevokeDelegationRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for RevokeDelegationRequest
impl Serialize for RevokeDelegationRequest
Source§impl TryFrom<RevokeDelegationRequest> for RevokeDelegationRequest
impl TryFrom<RevokeDelegationRequest> for RevokeDelegationRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RevokeDelegationRequest) -> Result<Self, ConversionError>
fn try_from(value: RevokeDelegationRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RevokeDelegationRequest
impl RefUnwindSafe for RevokeDelegationRequest
impl Send for RevokeDelegationRequest
impl Sync for RevokeDelegationRequest
impl Unpin for RevokeDelegationRequest
impl UnsafeUnpin for RevokeDelegationRequest
impl UnwindSafe for RevokeDelegationRequest
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