pub struct KeyQuorum {
pub authorization_keys: Vec<KeyQuorumAuthorizationKeysItem>,
pub authorization_threshold: Option<f64>,
pub display_name: Option<KeyQuorumDisplayName>,
pub id: String,
pub user_ids: Vec<String>,
}Expand description
KeyQuorum
JSON schema
{
"examples": [
{
"authorization_keys": [
{
"display_name": null,
"public_key":
"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEx4aoeD72yykviK+f/ckqE2CItVIG\
n1rCnvC3/XZ1HgpOcMEMialRmTrqIK4oZlYd1RfxU3za/C9yjhboIuoPD3g=="
},
{
"display_name": null,
"public_key":
"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErzZtQr/bMIh3Y8f9ZqseB9i/AfjQ\
nhu+agbNqXcJy/TfoNqvc/Y3Mh7gIZ8ZLXQEykycx4mYSpqrxp1lBKqsZDQ=="
}
],
"authorization_threshold": 1,
"display_name": "Prod key quorum",
"id": "tb54eps4z44ed0jepousxi4n"
}
],
"type": "object",
"required": [
"authorization_keys",
"id"
],
"properties": {
"authorization_keys": {
"type": "array",
"items": {
"type": "object",
"required": [
"display_name",
"public_key"
],
"properties": {
"display_name": {
"type": [
"string",
"null"
],
"maxLength": 50
},
"public_key": {
"type": "string"
}
}
}
},
"authorization_threshold": {
"type": "number",
"minimum": 1.0
},
"display_name": {
"type": "string",
"maxLength": 50
},
"id": {
"type": "string"
},
"user_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§display_name: Option<KeyQuorumDisplayName>§id: String§user_ids: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyQuorum
impl<'de> Deserialize<'de> for KeyQuorum
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
Auto Trait Implementations§
impl Freeze for KeyQuorum
impl RefUnwindSafe for KeyQuorum
impl Send for KeyQuorum
impl Sync for KeyQuorum
impl Unpin for KeyQuorum
impl UnwindSafe for KeyQuorum
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