pub struct SubmitParams {
pub id: String,
pub respond_to_connection_request: RespondToConnectionRequest,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [submit
]
Fields§
§id: String
The ID of the initiated Web3 connection to approve.
respond_to_connection_request: RespondToConnectionRequest
§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 SubmitParams
impl SubmitParams
Sourcepub fn builder() -> SubmitParamsBuilder
pub fn builder() -> SubmitParamsBuilder
Create an instance of SubmitParams
using the builder syntax
Trait Implementations§
Source§impl Clone for SubmitParams
impl Clone for SubmitParams
Source§fn clone(&self) -> SubmitParams
fn clone(&self) -> SubmitParams
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 SubmitParams
impl RefUnwindSafe for SubmitParams
impl Send for SubmitParams
impl Sync for SubmitParams
impl Unpin for SubmitParams
impl UnwindSafe for SubmitParams
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