pub struct KeyQuorumIntentResponseAuthorizationDetailsItem {
pub display_name: Option<String>,
pub members: Vec<KeyQuorumIntentResponseAuthorizationDetailsItemMembersItem>,
pub threshold: f64,
}Expand description
KeyQuorumIntentResponseAuthorizationDetailsItem
JSON schema
{
"type": "object",
"required": [
"members",
"threshold"
],
"properties": {
"display_name": {
"description": "Display name of the key quorum",
"type": "string"
},
"members": {
"description": "Members in this authorization quorum",
"type": "array",
"items": {
"oneOf": [
{
"title": "User member",
"type": "object",
"required": [
"has_signed",
"type",
"user_id"
],
"properties": {
"display_name": {
"description": "Display name for the user (email, etc)",
"type": "string"
},
"has_signed": {
"description": "Whether this member has signed the
intent",
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"user"
]
},
"user_id": {
"description": "User ID of the key quorum member",
"type": "string"
}
}
},
{
"title": "Key member",
"type": "object",
"required": [
"has_signed",
"public_key",
"type"
],
"properties": {
"display_name": {
"description": "Display name for the key (if any)",
"type": "string"
},
"has_signed": {
"description": "Whether this key has signed the intent",
"type": "boolean"
},
"public_key": {
"description": "Public key of the key quorum member",
"type": "string"
},
"type": {
"type": "string",
"enum": [
"key"
]
}
}
}
]
}
},
"threshold": {
"description": "Number of signatures required from this quorum",
"type": "number"
}
}
}Fields§
§display_name: Option<String>Display name of the key quorum
members: Vec<KeyQuorumIntentResponseAuthorizationDetailsItemMembersItem>Members in this authorization quorum
threshold: f64Trait Implementations§
Source§impl Clone for KeyQuorumIntentResponseAuthorizationDetailsItem
impl Clone for KeyQuorumIntentResponseAuthorizationDetailsItem
Source§fn clone(&self) -> KeyQuorumIntentResponseAuthorizationDetailsItem
fn clone(&self) -> KeyQuorumIntentResponseAuthorizationDetailsItem
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<'de> Deserialize<'de> for KeyQuorumIntentResponseAuthorizationDetailsItem
impl<'de> Deserialize<'de> for KeyQuorumIntentResponseAuthorizationDetailsItem
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<&KeyQuorumIntentResponseAuthorizationDetailsItem> for KeyQuorumIntentResponseAuthorizationDetailsItem
impl From<&KeyQuorumIntentResponseAuthorizationDetailsItem> for KeyQuorumIntentResponseAuthorizationDetailsItem
Source§fn from(value: &KeyQuorumIntentResponseAuthorizationDetailsItem) -> Self
fn from(value: &KeyQuorumIntentResponseAuthorizationDetailsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyQuorumIntentResponseAuthorizationDetailsItem
impl RefUnwindSafe for KeyQuorumIntentResponseAuthorizationDetailsItem
impl Send for KeyQuorumIntentResponseAuthorizationDetailsItem
impl Sync for KeyQuorumIntentResponseAuthorizationDetailsItem
impl Unpin for KeyQuorumIntentResponseAuthorizationDetailsItem
impl UnsafeUnpin for KeyQuorumIntentResponseAuthorizationDetailsItem
impl UnwindSafe for KeyQuorumIntentResponseAuthorizationDetailsItem
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