pub struct AddKeyAction {
pub access_key: AccessKey,
pub public_key: PublicKey,
}
Expand description
An action that adds key with public key associated
JSON schema
{
"description": "An action that adds key with public key associated",
"type": "object",
"required": [
"access_key",
"public_key"
],
"properties": {
"access_key": {
"description": "An access key with the permission",
"allOf": [
{
"$ref": "#/components/schemas/AccessKey"
}
]
},
"public_key": {
"description": "A public key which will be associated with an access_key",
"allOf": [
{
"$ref": "#/components/schemas/PublicKey"
}
]
}
}
}
Fields§
§access_key: AccessKey
An access key with the permission
public_key: PublicKey
A public key which will be associated with an access_key
Trait Implementations§
Source§impl Clone for AddKeyAction
impl Clone for AddKeyAction
Source§fn clone(&self) -> AddKeyAction
fn clone(&self) -> AddKeyAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AddKeyAction
impl Debug for AddKeyAction
Source§impl<'de> Deserialize<'de> for AddKeyAction
impl<'de> Deserialize<'de> for AddKeyAction
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<&AddKeyAction> for AddKeyAction
impl From<&AddKeyAction> for AddKeyAction
Source§fn from(value: &AddKeyAction) -> Self
fn from(value: &AddKeyAction) -> Self
Converts to this type from the input type.
Source§impl From<AddKeyAction> for Action
impl From<AddKeyAction> for Action
Source§fn from(value: AddKeyAction) -> Self
fn from(value: AddKeyAction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddKeyAction
impl RefUnwindSafe for AddKeyAction
impl Send for AddKeyAction
impl Sync for AddKeyAction
impl Unpin for AddKeyAction
impl UnwindSafe for AddKeyAction
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