pub struct IntentBinding {
pub intent_id: String,
pub type_: IntentBindingType,
}Expand description
A binding that scopes a user signing key to a specific intent.
JSON schema
{
"title": "IntentBinding",
"description": "A binding that scopes a user signing key to a specific
intent.",
"type": "object",
"required": [
"intentId",
"type"
],
"properties": {
"intentId": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"intent"
]
}
},
"x-stainless-model": "wallets.intent_binding"
}Fields§
§intent_id: String§type_: IntentBindingTypeTrait Implementations§
Source§impl Clone for IntentBinding
impl Clone for IntentBinding
Source§fn clone(&self) -> IntentBinding
fn clone(&self) -> IntentBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IntentBinding
impl Debug for IntentBinding
Source§impl<'de> Deserialize<'de> for IntentBinding
impl<'de> Deserialize<'de> for IntentBinding
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<&IntentBinding> for IntentBinding
impl From<&IntentBinding> for IntentBinding
Source§fn from(value: &IntentBinding) -> Self
fn from(value: &IntentBinding) -> Self
Converts to this type from the input type.
Source§impl From<IntentBinding> for UserSigningKeyBinding
impl From<IntentBinding> for UserSigningKeyBinding
Source§fn from(value: IntentBinding) -> Self
fn from(value: IntentBinding) -> Self
Converts to this type from the input type.
Source§impl From<UserSigningKeyBinding> for IntentBinding
impl From<UserSigningKeyBinding> for IntentBinding
Source§fn from(value: UserSigningKeyBinding) -> Self
fn from(value: UserSigningKeyBinding) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntentBinding
impl RefUnwindSafe for IntentBinding
impl Send for IntentBinding
impl Sync for IntentBinding
impl Unpin for IntentBinding
impl UnsafeUnpin for IntentBinding
impl UnwindSafe for IntentBinding
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