Struct cosm_utils::chain::request::OffsetParams
source · pub struct OffsetParams {
pub offset: u64,
pub count_total: bool,
}Fields§
§offset: u64§count_total: boolTrait Implementations§
source§impl Clone for OffsetParams
impl Clone for OffsetParams
source§fn clone(&self) -> OffsetParams
fn clone(&self) -> OffsetParams
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 OffsetParams
impl Debug for OffsetParams
source§impl Default for OffsetParams
impl Default for OffsetParams
source§fn default() -> OffsetParams
fn default() -> OffsetParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OffsetParams
impl<'de> Deserialize<'de> for OffsetParams
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 Hash for OffsetParams
impl Hash for OffsetParams
source§impl JsonSchema for OffsetParams
impl JsonSchema for OffsetParams
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl PartialEq<OffsetParams> for OffsetParams
impl PartialEq<OffsetParams> for OffsetParams
source§fn eq(&self, other: &OffsetParams) -> bool
fn eq(&self, other: &OffsetParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for OffsetParams
impl Serialize for OffsetParams
impl Eq for OffsetParams
impl StructuralEq for OffsetParams
impl StructuralPartialEq for OffsetParams
Auto Trait Implementations§
impl RefUnwindSafe for OffsetParams
impl Send for OffsetParams
impl Sync for OffsetParams
impl Unpin for OffsetParams
impl UnwindSafe for OffsetParams
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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