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