pub struct ReserveState {
pub radius: u8,
pub storage_radius: u8,
pub commitment: i64,
}Expand description
Reserve state snapshot — GET /reservestate.
Fields§
§radius: u8Network radius.
storage_radius: u8Storage radius.
commitment: i64Batch commitment.
Trait Implementations§
Source§impl Clone for ReserveState
impl Clone for ReserveState
Source§fn clone(&self) -> ReserveState
fn clone(&self) -> ReserveState
Returns a duplicate 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 ReserveState
impl Debug for ReserveState
Source§impl<'de> Deserialize<'de> for ReserveState
impl<'de> Deserialize<'de> for ReserveState
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 PartialEq for ReserveState
impl PartialEq for ReserveState
impl Eq for ReserveState
impl StructuralPartialEq for ReserveState
Auto Trait Implementations§
impl Freeze for ReserveState
impl RefUnwindSafe for ReserveState
impl Send for ReserveState
impl Sync for ReserveState
impl Unpin for ReserveState
impl UnsafeUnpin for ReserveState
impl UnwindSafe for ReserveState
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