pub struct RCHashResponse {
pub duration_seconds: f64,
pub hash: String,
pub proofs: ChunkInclusionProofs,
}Expand description
Reserve-commitment hash + sample inclusion proofs returned by
GET /rchash/{depth}/{anchor1}/{anchor2}. Mirrors bee-go
ApiRCHashResponse.
Fields§
§duration_seconds: f64Time the sampler took to produce the commitment, in seconds.
Returned as a fractional float (e.g. 12.4).
hash: StringReserve commitment hash (64-char lowercase hex).
proofs: ChunkInclusionProofsInclusion proofs for the first, second, and last chunks of the reserve sample.
Trait Implementations§
Source§impl Clone for RCHashResponse
impl Clone for RCHashResponse
Source§fn clone(&self) -> RCHashResponse
fn clone(&self) -> RCHashResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RCHashResponse
impl Debug for RCHashResponse
Source§impl Default for RCHashResponse
impl Default for RCHashResponse
Source§fn default() -> RCHashResponse
fn default() -> RCHashResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RCHashResponse
impl<'de> Deserialize<'de> for RCHashResponse
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 RCHashResponse
impl PartialEq for RCHashResponse
Source§fn eq(&self, other: &RCHashResponse) -> bool
fn eq(&self, other: &RCHashResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RCHashResponse
Auto Trait Implementations§
impl Freeze for RCHashResponse
impl RefUnwindSafe for RCHashResponse
impl Send for RCHashResponse
impl Sync for RCHashResponse
impl Unpin for RCHashResponse
impl UnsafeUnpin for RCHashResponse
impl UnwindSafe for RCHashResponse
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