pub struct ShardRange {
pub start: u32,
pub end: u32,
}Fields§
§start: u32§end: u32Trait Implementations§
Source§impl Clone for ShardRange
impl Clone for ShardRange
impl Copy for ShardRange
Source§impl Debug for ShardRange
impl Debug for ShardRange
Source§impl<'de> Deserialize<'de> for ShardRange
impl<'de> Deserialize<'de> for ShardRange
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
impl Eq for ShardRange
Source§impl Hash for ShardRange
impl Hash for ShardRange
Source§impl Ord for ShardRange
impl Ord for ShardRange
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ShardRange
impl PartialEq for ShardRange
Source§impl PartialOrd for ShardRange
impl PartialOrd for ShardRange
Source§impl Serialize for ShardRange
impl Serialize for ShardRange
impl StructuralPartialEq for ShardRange
Auto Trait Implementations§
impl Freeze for ShardRange
impl RefUnwindSafe for ShardRange
impl Send for ShardRange
impl Sync for ShardRange
impl Unpin for ShardRange
impl UnsafeUnpin for ShardRange
impl UnwindSafe for ShardRange
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