pub enum WalletIntentResponseAuthorizationDetailsItemMembersItem {
User {
display_name: Option<String>,
has_signed: bool,
user_id: String,
},
Key {
display_name: Option<String>,
has_signed: bool,
public_key: String,
},
}Expand description
WalletIntentResponseAuthorizationDetailsItemMembersItem
JSON schema
{
"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"
]
}
}
}
]
}Variants§
Trait Implementations§
Source§impl Clone for WalletIntentResponseAuthorizationDetailsItemMembersItem
impl Clone for WalletIntentResponseAuthorizationDetailsItemMembersItem
Source§fn clone(&self) -> WalletIntentResponseAuthorizationDetailsItemMembersItem
fn clone(&self) -> WalletIntentResponseAuthorizationDetailsItemMembersItem
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 WalletIntentResponseAuthorizationDetailsItemMembersItem
impl<'de> Deserialize<'de> for WalletIntentResponseAuthorizationDetailsItemMembersItem
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<&WalletIntentResponseAuthorizationDetailsItemMembersItem> for WalletIntentResponseAuthorizationDetailsItemMembersItem
impl From<&WalletIntentResponseAuthorizationDetailsItemMembersItem> for WalletIntentResponseAuthorizationDetailsItemMembersItem
Source§fn from(value: &WalletIntentResponseAuthorizationDetailsItemMembersItem) -> Self
fn from(value: &WalletIntentResponseAuthorizationDetailsItemMembersItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletIntentResponseAuthorizationDetailsItemMembersItem
impl RefUnwindSafe for WalletIntentResponseAuthorizationDetailsItemMembersItem
impl Send for WalletIntentResponseAuthorizationDetailsItemMembersItem
impl Sync for WalletIntentResponseAuthorizationDetailsItemMembersItem
impl Unpin for WalletIntentResponseAuthorizationDetailsItemMembersItem
impl UnsafeUnpin for WalletIntentResponseAuthorizationDetailsItemMembersItem
impl UnwindSafe for WalletIntentResponseAuthorizationDetailsItemMembersItem
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