pub struct AddKeyAction {
pub access_key: AccessKey,
pub public_key: PublicKey,
}Expand description
AddKeyAction
JSON schema
{
"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: AccessKeyAn access key with the permission
public_key: PublicKeyA 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§const fn clone_from(&mut self, source: &Self)
const 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<AddKeyAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AddKeyAction, <__D as Deserializer<'de>>::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) -> AddKeyAction
fn from(value: &AddKeyAction) -> AddKeyAction
Converts to this type from the input type.
Source§impl From<AddKeyAction> for Action
impl From<AddKeyAction> for Action
Source§fn from(value: AddKeyAction) -> Action
fn from(value: AddKeyAction) -> Action
Converts to this type from the input type.
Source§impl Serialize for AddKeyAction
impl Serialize for AddKeyAction
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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