pub struct PostageProof {
pub index: String,
pub postage_id: String,
pub signature: String,
pub time_stamp: String,
}Expand description
Postage stamp proof embedded in a ChunkInclusionProof.
Fields§
§index: StringBucket index used by the stamp.
postage_id: StringPostage batch ID this stamp was issued from.
signature: StringStamp signature (hex).
time_stamp: StringStamp creation timestamp (decimal string of unix nanoseconds).
Trait Implementations§
Source§impl Clone for PostageProof
impl Clone for PostageProof
Source§fn clone(&self) -> PostageProof
fn clone(&self) -> PostageProof
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 PostageProof
impl Debug for PostageProof
Source§impl Default for PostageProof
impl Default for PostageProof
Source§fn default() -> PostageProof
fn default() -> PostageProof
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostageProof
impl<'de> Deserialize<'de> for PostageProof
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 PostageProof
impl PartialEq for PostageProof
Source§fn eq(&self, other: &PostageProof) -> bool
fn eq(&self, other: &PostageProof) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostageProof
Auto Trait Implementations§
impl Freeze for PostageProof
impl RefUnwindSafe for PostageProof
impl Send for PostageProof
impl Sync for PostageProof
impl Unpin for PostageProof
impl UnsafeUnpin for PostageProof
impl UnwindSafe for PostageProof
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