pub struct KeyQuorum {
pub authorization_keys: Vec<KeyQuorumAuthorizationKeysItem>,
pub authorization_threshold: Option<f64>,
pub display_name: Option<KeyQuorumDisplayName>,
pub id: String,
pub key_quorum_ids: Vec<String>,
pub user_ids: Vec<String>,
}Expand description
A key quorum for authorizing wallet operations.
JSON schema
{
"title": "KeyQuorum",
"description": "A key quorum for authorizing wallet operations.",
"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",
"user_ids": null
}
],
"type": "object",
"required": [
"authorization_keys",
"id"
],
"properties": {
"authorization_keys": {
"type": "array",
"items": {
"type": "object",
"required": [
"public_key"
],
"properties": {
"display_name": {
"type": "string",
"maxLength": 50
},
"public_key": {
"type": "string"
}
}
}
},
"authorization_threshold": {
"type": "number",
"minimum": 1.0
},
"display_name": {
"type": "string",
"maxLength": 50
},
"id": {
"type": "string",
"format": "cuid2"
},
"key_quorum_ids": {
"description": "List of nested key quorum IDs that are members of
this key quorum.",
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5,
"minItems": 1
},
"user_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"x-stainless-model": "key_quorums.key_quorum"
}Fields§
§display_name: Option<KeyQuorumDisplayName>§id: String§key_quorum_ids: Vec<String>List of nested key quorum IDs that are members of this key quorum.
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 UnsafeUnpin 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