Struct ckb_jsonrpc_types::IndexerRange
source · pub struct IndexerRange { /* private fields */ }
Expand description
A array represent (half-open) range bounded inclusively below and exclusively above [start, end).
Examples
JSON | range |
---|---|
[“0x0”, “0x2”] | [0, 2) |
[“0x0”, “0x174876e801”] | [0, 100000000001) |
Implementations§
Trait Implementations§
source§impl Default for IndexerRange
impl Default for IndexerRange
source§fn default() -> IndexerRange
fn default() -> IndexerRange
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IndexerRange
impl<'de> Deserialize<'de> for IndexerRange
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
Auto Trait Implementations§
impl RefUnwindSafe for IndexerRange
impl Send for IndexerRange
impl Sync for IndexerRange
impl Unpin for IndexerRange
impl UnwindSafe for IndexerRange
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