pub struct CreateKeyQuorumBody {
pub authorization_threshold: Option<f64>,
pub display_name: Option<CreateKeyQuorumBodyDisplayName>,
pub public_keys: Vec<String>,
pub user_ids: Vec<String>,
}Expand description
CreateKeyQuorumBody
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-----",
"-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErzZtQr/bMIh3Y8f9ZqseB9i/AfjQ\nhu+agbNqXcJy/TfoNqvc/Y3Mh7gIZ8ZLXQEykycx4mYSpqrxp1lBKqsZDQ==\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<CreateKeyQuorumBodyDisplayName>§public_keys: Vec<String>§user_ids: Vec<String>Trait Implementations§
Source§impl Clone for CreateKeyQuorumBody
impl Clone for CreateKeyQuorumBody
Source§fn clone(&self) -> CreateKeyQuorumBody
fn clone(&self) -> CreateKeyQuorumBody
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 CreateKeyQuorumBody
impl Debug for CreateKeyQuorumBody
Source§impl Default for CreateKeyQuorumBody
impl Default for CreateKeyQuorumBody
Source§impl<'de> Deserialize<'de> for CreateKeyQuorumBody
impl<'de> Deserialize<'de> for CreateKeyQuorumBody
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<&CreateKeyQuorumBody> for CreateKeyQuorumBody
impl From<&CreateKeyQuorumBody> for CreateKeyQuorumBody
Source§fn from(value: &CreateKeyQuorumBody) -> Self
fn from(value: &CreateKeyQuorumBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateKeyQuorumBody
impl RefUnwindSafe for CreateKeyQuorumBody
impl Send for CreateKeyQuorumBody
impl Sync for CreateKeyQuorumBody
impl Unpin for CreateKeyQuorumBody
impl UnwindSafe for CreateKeyQuorumBody
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