pub enum BlockHeight {
    Latest,
    Hash(BlockHash),
    Number(BlockNumber),
    NumberGte(BlockNumber),
}๐Deprecated since 0.8.1: Use the 
thegraph-client-subgraphs crate insteadAvailable on crate feature 
subgraph-client only.Expand description
The block at which the query should be executed.
This is part of the input arguments of the SubgraphPageQuery.
Variantsยง
Latest
๐Deprecated since 0.8.1: Use the 
thegraph-client-subgraphs crate insteadHash(BlockHash)
๐Deprecated since 0.8.1: Use the 
thegraph-client-subgraphs crate insteadNumber(BlockNumber)
๐Deprecated since 0.8.1: Use the 
thegraph-client-subgraphs crate insteadNumberGte(BlockNumber)
๐Deprecated since 0.8.1: Use the 
thegraph-client-subgraphs crate insteadTrait Implementationsยง
Sourceยงimpl Clone for BlockHeight
 
impl Clone for BlockHeight
Sourceยงfn clone(&self) -> BlockHeight
 
fn clone(&self) -> BlockHeight
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 BlockHeight
 
impl Debug for BlockHeight
Sourceยงimpl Default for BlockHeight
 
impl Default for BlockHeight
Sourceยงfn default() -> BlockHeight
 
fn default() -> BlockHeight
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl Freeze for BlockHeight
impl RefUnwindSafe for BlockHeight
impl Send for BlockHeight
impl Sync for BlockHeight
impl Unpin for BlockHeight
impl UnwindSafe for BlockHeight
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> 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> 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