pub struct VdfProofExtended {
pub proof: VdfProofRfc,
pub algorithm: VdfAlgorithm,
pub checkpoints: Option<Vec<VdfCheckpoint>>,
}Expand description
Extended VDF proof with algorithm selection and optional checkpoints.
Fields§
§proof: VdfProofRfc§algorithm: VdfAlgorithm§checkpoints: Option<Vec<VdfCheckpoint>>Trait Implementations§
Source§impl Clone for VdfProofExtended
impl Clone for VdfProofExtended
Source§fn clone(&self) -> VdfProofExtended
fn clone(&self) -> VdfProofExtended
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 VdfProofExtended
impl Debug for VdfProofExtended
Source§impl<'de> Deserialize<'de> for VdfProofExtended
impl<'de> Deserialize<'de> for VdfProofExtended
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 VdfProofExtended
impl PartialEq for VdfProofExtended
Source§impl Serialize for VdfProofExtended
impl Serialize for VdfProofExtended
impl StructuralPartialEq for VdfProofExtended
Auto Trait Implementations§
impl Freeze for VdfProofExtended
impl RefUnwindSafe for VdfProofExtended
impl Send for VdfProofExtended
impl Sync for VdfProofExtended
impl Unpin for VdfProofExtended
impl UnsafeUnpin for VdfProofExtended
impl UnwindSafe for VdfProofExtended
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