pub enum IntentResponse {
RpcIntentResponse(RpcIntentResponse),
WalletIntentResponse(WalletIntentResponse),
PolicyIntentResponse(PolicyIntentResponse),
KeyQuorumIntentResponse(KeyQuorumIntentResponse),
}Expand description
Response for getting an intent (discriminated union based on intent_type)
JSON schema
{
"description": "Response for getting an intent (discriminated union
based on intent_type)",
"oneOf": [
{
"$ref": "#/components/schemas/RpcIntentResponse"
},
{
"$ref": "#/components/schemas/WalletIntentResponse"
},
{
"$ref": "#/components/schemas/PolicyIntentResponse"
},
{
"$ref": "#/components/schemas/KeyQuorumIntentResponse"
}
]
}Variants§
RpcIntentResponse(RpcIntentResponse)
WalletIntentResponse(WalletIntentResponse)
PolicyIntentResponse(PolicyIntentResponse)
KeyQuorumIntentResponse(KeyQuorumIntentResponse)
Trait Implementations§
Source§impl Clone for IntentResponse
impl Clone for IntentResponse
Source§fn clone(&self) -> IntentResponse
fn clone(&self) -> IntentResponse
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 Debug for IntentResponse
impl Debug for IntentResponse
Source§impl<'de> Deserialize<'de> for IntentResponse
impl<'de> Deserialize<'de> for IntentResponse
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<&IntentResponse> for IntentResponse
impl From<&IntentResponse> for IntentResponse
Source§fn from(value: &IntentResponse) -> Self
fn from(value: &IntentResponse) -> Self
Converts to this type from the input type.
Source§impl From<KeyQuorumIntentResponse> for IntentResponse
impl From<KeyQuorumIntentResponse> for IntentResponse
Source§fn from(value: KeyQuorumIntentResponse) -> Self
fn from(value: KeyQuorumIntentResponse) -> Self
Converts to this type from the input type.
Source§impl From<PolicyIntentResponse> for IntentResponse
impl From<PolicyIntentResponse> for IntentResponse
Source§fn from(value: PolicyIntentResponse) -> Self
fn from(value: PolicyIntentResponse) -> Self
Converts to this type from the input type.
Source§impl From<RpcIntentResponse> for IntentResponse
impl From<RpcIntentResponse> for IntentResponse
Source§fn from(value: RpcIntentResponse) -> Self
fn from(value: RpcIntentResponse) -> Self
Converts to this type from the input type.
Source§impl From<WalletIntentResponse> for IntentResponse
impl From<WalletIntentResponse> for IntentResponse
Source§fn from(value: WalletIntentResponse) -> Self
fn from(value: WalletIntentResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntentResponse
impl RefUnwindSafe for IntentResponse
impl Send for IntentResponse
impl Sync for IntentResponse
impl Unpin for IntentResponse
impl UnsafeUnpin for IntentResponse
impl UnwindSafe for IntentResponse
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