pub struct VtxoIdInput {
pub vtxo_id: VtxoId,
pub ownership_proof: Signature,
}Expand description
Input of a round
Fields§
§vtxo_id: VtxoId§ownership_proof: SignatureA schnorr signature over a message containing a static prefix,
a random challenge generated by the server and the VTXO’s id.
See rounds::VtxoOwnershipChallenge.
Should be produced using VTXO’s private key
Trait Implementations§
Source§impl Clone for VtxoIdInput
impl Clone for VtxoIdInput
Source§fn clone(&self) -> VtxoIdInput
fn clone(&self) -> VtxoIdInput
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 VtxoIdInput
impl Debug for VtxoIdInput
Source§impl<'de> Deserialize<'de> for VtxoIdInput
impl<'de> Deserialize<'de> for VtxoIdInput
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 VtxoIdInput
impl Hash for VtxoIdInput
Source§impl Ord for VtxoIdInput
impl Ord for VtxoIdInput
Source§fn cmp(&self, other: &VtxoIdInput) -> Ordering
fn cmp(&self, other: &VtxoIdInput) -> 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 VtxoIdInput
impl PartialEq for VtxoIdInput
Source§impl PartialOrd for VtxoIdInput
impl PartialOrd for VtxoIdInput
Source§impl Serialize for VtxoIdInput
impl Serialize for VtxoIdInput
impl Eq for VtxoIdInput
impl StructuralPartialEq for VtxoIdInput
Auto Trait Implementations§
impl Freeze for VtxoIdInput
impl RefUnwindSafe for VtxoIdInput
impl Send for VtxoIdInput
impl Sync for VtxoIdInput
impl Unpin for VtxoIdInput
impl UnwindSafe for VtxoIdInput
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