pub struct CreateTicketParams {
pub smart_transfer_create_ticket: SmartTransferCreateTicket,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [create_ticket
]
Fields§
§smart_transfer_create_ticket: SmartTransferCreateTicket
§idempotency_key: Option<String>
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Implementations§
Source§impl CreateTicketParams
impl CreateTicketParams
Sourcepub fn builder() -> CreateTicketParamsBuilder
pub fn builder() -> CreateTicketParamsBuilder
Create an instance of CreateTicketParams
using the builder syntax
Trait Implementations§
Source§impl Clone for CreateTicketParams
impl Clone for CreateTicketParams
Source§fn clone(&self) -> CreateTicketParams
fn clone(&self) -> CreateTicketParams
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 moreAuto Trait Implementations§
impl Freeze for CreateTicketParams
impl RefUnwindSafe for CreateTicketParams
impl Send for CreateTicketParams
impl Sync for CreateTicketParams
impl Unpin for CreateTicketParams
impl UnwindSafe for CreateTicketParams
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