pub struct ApproveTermsOfServiceByProviderIdParams {
pub provider_id: StakingProvider,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method
[approve_terms_of_service_by_provider_id
]
Fields§
§provider_id: StakingProvider
The unique identifier of the staking provider
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 ApproveTermsOfServiceByProviderIdParams
impl ApproveTermsOfServiceByProviderIdParams
Sourcepub fn builder() -> ApproveTermsOfServiceByProviderIdParamsBuilder
pub fn builder() -> ApproveTermsOfServiceByProviderIdParamsBuilder
Create an instance of ApproveTermsOfServiceByProviderIdParams
using the builder syntax
Trait Implementations§
Source§impl Clone for ApproveTermsOfServiceByProviderIdParams
impl Clone for ApproveTermsOfServiceByProviderIdParams
Source§fn clone(&self) -> ApproveTermsOfServiceByProviderIdParams
fn clone(&self) -> ApproveTermsOfServiceByProviderIdParams
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 ApproveTermsOfServiceByProviderIdParams
impl RefUnwindSafe for ApproveTermsOfServiceByProviderIdParams
impl Send for ApproveTermsOfServiceByProviderIdParams
impl Sync for ApproveTermsOfServiceByProviderIdParams
impl Unpin for ApproveTermsOfServiceByProviderIdParams
impl UnwindSafe for ApproveTermsOfServiceByProviderIdParams
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