pub struct ObjectMappingResponse {
pub block_number: BlockNumber,
pub objects: GlobalObjectMapping,
}
Expand description
Response to object mapping subscription, including a block height. Large responses are batched, so the block height can be repeated in different responses.
Fields§
§block_number: BlockNumber
The block number that the object mapping is from.
objects: GlobalObjectMapping
The object mappings.
Trait Implementations§
Source§impl Clone for ObjectMappingResponse
impl Clone for ObjectMappingResponse
Source§fn clone(&self) -> ObjectMappingResponse
fn clone(&self) -> ObjectMappingResponse
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 ObjectMappingResponse
impl Debug for ObjectMappingResponse
Source§impl<'de> Deserialize<'de> for ObjectMappingResponse
impl<'de> Deserialize<'de> for ObjectMappingResponse
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 Ord for ObjectMappingResponse
impl Ord for ObjectMappingResponse
Source§fn cmp(&self, other: &ObjectMappingResponse) -> Ordering
fn cmp(&self, other: &ObjectMappingResponse) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ObjectMappingResponse
impl PartialEq for ObjectMappingResponse
Source§impl PartialOrd for ObjectMappingResponse
impl PartialOrd for ObjectMappingResponse
Source§impl Serialize for ObjectMappingResponse
impl Serialize for ObjectMappingResponse
impl Eq for ObjectMappingResponse
impl StructuralPartialEq for ObjectMappingResponse
Auto Trait Implementations§
impl Freeze for ObjectMappingResponse
impl RefUnwindSafe for ObjectMappingResponse
impl Send for ObjectMappingResponse
impl Sync for ObjectMappingResponse
impl Unpin for ObjectMappingResponse
impl UnwindSafe for ObjectMappingResponse
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more