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": [
"-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEx4aoeD72yykviK+f/ckqE2CItVIG\n1rCnvC3/XZ1HgpOcMEMialRmTrqIK4oZlYd1RfxU3za/C9yjhboIuoPD3g==\n-----END PUBLIC KEY-----"
]
}
],
"type": "object",
"properties": {
"authorization_threshold": {
"type": "number",
"minimum": 1.0
},
"display_name": {
"type": "string",
"maxLength": 50
},
"public_keys": {
"type": "array",
"items": {
"type": "string"
}
},
"user_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§display_name: Option<UpdateKeyQuorumBodyDisplayName>§public_keys: Vec<String>§user_ids: Vec<String>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