pub struct TransferIntentRequestDetails {
pub body: TransferRequestBody,
pub method: TransferIntentRequestDetailsMethod,
pub url: TransferIntentRequestDetailsUrl,
}Expand description
Request details for a transfer intent.
JSON schema
{
"title": "TransferIntentRequestDetails",
"description": "Request details for a transfer intent.",
"type": "object",
"required": [
"body",
"method",
"url"
],
"properties": {
"body": {
"$ref": "#/components/schemas/TransferRequestBody"
},
"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}\\/transfer$"
}
},
"x-stainless-model": "intents.transfer_intent_request_details"
}Fields§
§body: TransferRequestBody§method: TransferIntentRequestDetailsMethod§url: TransferIntentRequestDetailsUrlTrait Implementations§
Source§impl Clone for TransferIntentRequestDetails
impl Clone for TransferIntentRequestDetails
Source§fn clone(&self) -> TransferIntentRequestDetails
fn clone(&self) -> TransferIntentRequestDetails
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 TransferIntentRequestDetails
impl Debug for TransferIntentRequestDetails
Source§impl<'de> Deserialize<'de> for TransferIntentRequestDetails
impl<'de> Deserialize<'de> for TransferIntentRequestDetails
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<&TransferIntentRequestDetails> for TransferIntentRequestDetails
impl From<&TransferIntentRequestDetails> for TransferIntentRequestDetails
Source§fn from(value: &TransferIntentRequestDetails) -> Self
fn from(value: &TransferIntentRequestDetails) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransferIntentRequestDetails
impl RefUnwindSafe for TransferIntentRequestDetails
impl Send for TransferIntentRequestDetails
impl Sync for TransferIntentRequestDetails
impl Unpin for TransferIntentRequestDetails
impl UnsafeUnpin for TransferIntentRequestDetails
impl UnwindSafe for TransferIntentRequestDetails
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