pub struct RpcIntentResponseAuthorizationDetailsItem {
pub display_name: Option<String>,
pub members: Vec<RpcIntentResponseAuthorizationDetailsItemMembersItem>,
pub threshold: f64,
}Expand description
RpcIntentResponseAuthorizationDetailsItem
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<RpcIntentResponseAuthorizationDetailsItemMembersItem>Members in this authorization quorum
threshold: f64Trait Implementations§
Source§impl Clone for RpcIntentResponseAuthorizationDetailsItem
impl Clone for RpcIntentResponseAuthorizationDetailsItem
Source§fn clone(&self) -> RpcIntentResponseAuthorizationDetailsItem
fn clone(&self) -> RpcIntentResponseAuthorizationDetailsItem
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 RpcIntentResponseAuthorizationDetailsItem
impl<'de> Deserialize<'de> for RpcIntentResponseAuthorizationDetailsItem
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<&RpcIntentResponseAuthorizationDetailsItem> for RpcIntentResponseAuthorizationDetailsItem
impl From<&RpcIntentResponseAuthorizationDetailsItem> for RpcIntentResponseAuthorizationDetailsItem
Source§fn from(value: &RpcIntentResponseAuthorizationDetailsItem) -> Self
fn from(value: &RpcIntentResponseAuthorizationDetailsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcIntentResponseAuthorizationDetailsItem
impl RefUnwindSafe for RpcIntentResponseAuthorizationDetailsItem
impl Send for RpcIntentResponseAuthorizationDetailsItem
impl Sync for RpcIntentResponseAuthorizationDetailsItem
impl Unpin for RpcIntentResponseAuthorizationDetailsItem
impl UnsafeUnpin for RpcIntentResponseAuthorizationDetailsItem
impl UnwindSafe for RpcIntentResponseAuthorizationDetailsItem
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