pub struct SplitParams {
pub chain_descriptor: String,
pub split_request: SplitRequest,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [split
]
Fields§
§chain_descriptor: String
The protocol identifier (e.g. "SOL"/"SOL_TEST") to use
split_request: SplitRequest
§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 SplitParams
impl SplitParams
Sourcepub fn builder() -> SplitParamsBuilder
pub fn builder() -> SplitParamsBuilder
Create an instance of SplitParams
using the builder syntax
Trait Implementations§
Source§impl Clone for SplitParams
impl Clone for SplitParams
Source§fn clone(&self) -> SplitParams
fn clone(&self) -> SplitParams
Returns a copy 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 SplitParams
impl RefUnwindSafe for SplitParams
impl Send for SplitParams
impl Sync for SplitParams
impl Unpin for SplitParams
impl UnwindSafe for SplitParams
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