pub struct WalletApiRegisterAuthorizationKeyInput {
pub display_name: Option<String>,
pub public_key: String,
pub role: Option<AuthorizationKeyRole>,
}Expand description
Input for registering or updating an application public signing key for API-based wallet actions.
JSON schema
{
"title": "WalletApiRegisterAuthorizationKeyInput",
"description": "Input for registering or updating an application public
signing key for API-based wallet actions.",
"type": "object",
"required": [
"public_key"
],
"properties": {
"display_name": {
"type": "string"
},
"public_key": {
"type": "string"
},
"role": {
"$ref": "#/components/schemas/AuthorizationKeyRole"
}
},
"x-stainless-model":
"wallets.wallet_api_register_authorization_key_input"
}Fields§
§display_name: Option<String>§public_key: String§role: Option<AuthorizationKeyRole>Trait Implementations§
Source§impl Clone for WalletApiRegisterAuthorizationKeyInput
impl Clone for WalletApiRegisterAuthorizationKeyInput
Source§fn clone(&self) -> WalletApiRegisterAuthorizationKeyInput
fn clone(&self) -> WalletApiRegisterAuthorizationKeyInput
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 WalletApiRegisterAuthorizationKeyInput
impl<'de> Deserialize<'de> for WalletApiRegisterAuthorizationKeyInput
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<&WalletApiRegisterAuthorizationKeyInput> for WalletApiRegisterAuthorizationKeyInput
impl From<&WalletApiRegisterAuthorizationKeyInput> for WalletApiRegisterAuthorizationKeyInput
Source§fn from(value: &WalletApiRegisterAuthorizationKeyInput) -> Self
fn from(value: &WalletApiRegisterAuthorizationKeyInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletApiRegisterAuthorizationKeyInput
impl RefUnwindSafe for WalletApiRegisterAuthorizationKeyInput
impl Send for WalletApiRegisterAuthorizationKeyInput
impl Sync for WalletApiRegisterAuthorizationKeyInput
impl Unpin for WalletApiRegisterAuthorizationKeyInput
impl UnsafeUnpin for WalletApiRegisterAuthorizationKeyInput
impl UnwindSafe for WalletApiRegisterAuthorizationKeyInput
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