pub struct UpdateKeyQuorumBody {
pub authorization_threshold: Option<f64>,
pub display_name: Option<UpdateKeyQuorumBodyDisplayName>,
pub public_keys: Vec<String>,
pub user_ids: Vec<String>,
}Expand description
UpdateKeyQuorumBody
JSON schema
{
"examples": [
{
"authorization_threshold": 1,
"display_name": "Prod key quorum",
"public_keys": [
"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEx4aoeD72yykviK+f/
ckqE2CItVIG\n1rCnvC3/XZ1HgpOcMEMialRmTrqIK4oZlYd1RfxU3za/
C9yjhboIuoPD3g=="
]
}
],
"type": "object",
"properties": {
"authorization_threshold": {
"description": "The number of keys that must sign for an action to
be valid. Must be less than or equal to total number of key quorum
members.",
"type": "number",
"minimum": 1.0
},
"display_name": {
"type": "string",
"maxLength": 50
},
"public_keys": {
"description": "List of P-256 public keys of the keys that should be authorized to sign on the key quorum, in base64-encoded DER format.",
"type": "array",
"items": {
"type": "string"
}
},
"user_ids": {
"description": "List of user IDs of the users that should be
authorized to sign on the key quorum.",
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§display_name: Option<UpdateKeyQuorumBodyDisplayName>§public_keys: Vec<String>List of P-256 public keys of the keys that should be authorized to sign on the key quorum, in base64-encoded DER format.
user_ids: Vec<String>List of user IDs of the users that should be authorized to sign on the key quorum.
Trait Implementations§
Source§impl Clone for UpdateKeyQuorumBody
impl Clone for UpdateKeyQuorumBody
Source§fn clone(&self) -> UpdateKeyQuorumBody
fn clone(&self) -> UpdateKeyQuorumBody
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 UpdateKeyQuorumBody
impl Debug for UpdateKeyQuorumBody
Source§impl Default for UpdateKeyQuorumBody
impl Default for UpdateKeyQuorumBody
Source§impl<'de> Deserialize<'de> for UpdateKeyQuorumBody
impl<'de> Deserialize<'de> for UpdateKeyQuorumBody
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<&UpdateKeyQuorumBody> for UpdateKeyQuorumBody
impl From<&UpdateKeyQuorumBody> for UpdateKeyQuorumBody
Source§fn from(value: &UpdateKeyQuorumBody) -> Self
fn from(value: &UpdateKeyQuorumBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateKeyQuorumBody
impl RefUnwindSafe for UpdateKeyQuorumBody
impl Send for UpdateKeyQuorumBody
impl Sync for UpdateKeyQuorumBody
impl Unpin for UpdateKeyQuorumBody
impl UnwindSafe for UpdateKeyQuorumBody
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