pub struct RpcIntentRequestDetails {
pub body: WalletRpcRequestBody,
pub method: RpcIntentRequestDetailsMethod,
pub url: RpcIntentRequestDetailsUrl,
}Expand description
Request details for an RPC intent.
JSON schema
{
"title": "RpcIntentRequestDetails",
"description": "Request details for an RPC intent.",
"type": "object",
"required": [
"body",
"method",
"url"
],
"properties": {
"body": {
"$ref": "#/components/schemas/WalletRpcRequestBody"
},
"method": {
"type": "string",
"enum": [
"POST"
]
},
"url": {
"type": "string",
"pattern":
"(?:https:\\/\\/(?:[^/]+\\.privy\\.io|privy\\.io|[^/]+\\.privy-preview\\
.app|privy-preview\\.app)(?:\\/api)?|http:\\/\\/localhost(?::\\d+)?(?:\\
/api)?)\\/v1\\/wallets\\/[0-9a-z]{24,32}\\/rpc$"
}
},
"x-stainless-model": "intents.rpc_intent_request_details"
}Fields§
§body: WalletRpcRequestBody§method: RpcIntentRequestDetailsMethod§url: RpcIntentRequestDetailsUrlTrait Implementations§
Source§impl Clone for RpcIntentRequestDetails
impl Clone for RpcIntentRequestDetails
Source§fn clone(&self) -> RpcIntentRequestDetails
fn clone(&self) -> RpcIntentRequestDetails
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 RpcIntentRequestDetails
impl Debug for RpcIntentRequestDetails
Source§impl<'de> Deserialize<'de> for RpcIntentRequestDetails
impl<'de> Deserialize<'de> for RpcIntentRequestDetails
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<&RpcIntentRequestDetails> for RpcIntentRequestDetails
impl From<&RpcIntentRequestDetails> for RpcIntentRequestDetails
Source§fn from(value: &RpcIntentRequestDetails) -> Self
fn from(value: &RpcIntentRequestDetails) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcIntentRequestDetails
impl RefUnwindSafe for RpcIntentRequestDetails
impl Send for RpcIntentRequestDetails
impl Sync for RpcIntentRequestDetails
impl Unpin for RpcIntentRequestDetails
impl UnsafeUnpin for RpcIntentRequestDetails
impl UnwindSafe for RpcIntentRequestDetails
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