pub struct UnstakeParams {
pub chain_descriptor: ChainDescriptor,
pub unstake_request: UnstakeRequest,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [unstake
]
Fields§
§chain_descriptor: ChainDescriptor
The protocol identifier (e.g. "ETH"/"SOL"/"MATIC") to use
unstake_request: UnstakeRequest
§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 UnstakeParams
impl UnstakeParams
Sourcepub fn builder() -> UnstakeParamsBuilder
pub fn builder() -> UnstakeParamsBuilder
Create an instance of UnstakeParams
using the builder syntax
Trait Implementations§
Source§impl Clone for UnstakeParams
impl Clone for UnstakeParams
Source§fn clone(&self) -> UnstakeParams
fn clone(&self) -> UnstakeParams
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 UnstakeParams
impl RefUnwindSafe for UnstakeParams
impl Send for UnstakeParams
impl Sync for UnstakeParams
impl Unpin for UnstakeParams
impl UnwindSafe for UnstakeParams
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