pub struct RoundAttemptAttestation { /* private fields */ }Expand description
Attestation for self-signed round participation
Contains a signature proving ownership of a VTXO for participation in a specific round attempt with a given challenge.
Implementations§
Source§impl RoundAttemptAttestation
impl RoundAttemptAttestation
Trait Implementations§
Source§impl Clone for RoundAttemptAttestation
impl Clone for RoundAttemptAttestation
Source§fn clone(&self) -> RoundAttemptAttestation
fn clone(&self) -> RoundAttemptAttestation
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 RoundAttemptAttestation
impl Debug for RoundAttemptAttestation
Source§impl<'de> Deserialize<'de> for RoundAttemptAttestation
impl<'de> Deserialize<'de> for RoundAttemptAttestation
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 Hash for RoundAttemptAttestation
impl Hash for RoundAttemptAttestation
Source§impl Ord for RoundAttemptAttestation
impl Ord for RoundAttemptAttestation
Source§fn cmp(&self, other: &RoundAttemptAttestation) -> Ordering
fn cmp(&self, other: &RoundAttemptAttestation) -> Ordering
1.21.0 · 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
Source§impl PartialEq for RoundAttemptAttestation
impl PartialEq for RoundAttemptAttestation
Source§impl PartialOrd for RoundAttemptAttestation
impl PartialOrd for RoundAttemptAttestation
Source§impl ProtocolEncoding for RoundAttemptAttestation
impl ProtocolEncoding for RoundAttemptAttestation
Source§fn encode<W: Write + ?Sized>(&self, writer: &mut W) -> Result<(), Error>
fn encode<W: Write + ?Sized>(&self, writer: &mut W) -> Result<(), Error>
Encode the object into the writer.
Source§fn decode<R: Read + ?Sized>(
reader: &mut R,
) -> Result<Self, ProtocolDecodingError>
fn decode<R: Read + ?Sized>( reader: &mut R, ) -> Result<Self, ProtocolDecodingError>
Decode the object from the writer.
Source§fn deserialize(byte_slice: &[u8]) -> Result<Self, ProtocolDecodingError>
fn deserialize(byte_slice: &[u8]) -> Result<Self, ProtocolDecodingError>
Deserialize object from the given byte slice.
Source§fn serialize_hex(&self) -> String
fn serialize_hex(&self) -> String
Serialize the object to a lowercase hex string.
Source§fn deserialize_hex(hex_str: &str) -> Result<Self, ProtocolDecodingError>
fn deserialize_hex(hex_str: &str) -> Result<Self, ProtocolDecodingError>
Deserialize object from hex slice.
Source§impl Serialize for RoundAttemptAttestation
impl Serialize for RoundAttemptAttestation
impl Copy for RoundAttemptAttestation
impl Eq for RoundAttemptAttestation
impl StructuralPartialEq for RoundAttemptAttestation
Auto Trait Implementations§
impl Freeze for RoundAttemptAttestation
impl RefUnwindSafe for RoundAttemptAttestation
impl Send for RoundAttemptAttestation
impl Sync for RoundAttemptAttestation
impl Unpin for RoundAttemptAttestation
impl UnsafeUnpin for RoundAttemptAttestation
impl UnwindSafe for RoundAttemptAttestation
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