Struct era_test_node::namespaces::ResetRequest
source · pub struct ResetRequest {
pub to: Option<U64>,
pub forking: Option<ResetRequestForking>,
}
Fields§
§to: Option<U64>
The block number to reset the state to.
forking: Option<ResetRequestForking>
Trait Implementations§
source§impl Clone for ResetRequest
impl Clone for ResetRequest
source§fn clone(&self) -> ResetRequest
fn clone(&self) -> ResetRequest
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 moresource§impl Debug for ResetRequest
impl Debug for ResetRequest
source§impl Default for ResetRequest
impl Default for ResetRequest
source§fn default() -> ResetRequest
fn default() -> ResetRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResetRequest
impl<'de> Deserialize<'de> for ResetRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ResetRequest
impl PartialEq for ResetRequest
source§fn eq(&self, other: &ResetRequest) -> bool
fn eq(&self, other: &ResetRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ResetRequest
impl Serialize for ResetRequest
impl StructuralPartialEq for ResetRequest
Auto Trait Implementations§
impl RefUnwindSafe for ResetRequest
impl Send for ResetRequest
impl Sync for ResetRequest
impl Unpin for ResetRequest
impl UnwindSafe for ResetRequest
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request