pub struct ProofState {
pub y: PublicKey,
pub state: State,
pub witness: Option<Witness>,
}
Expand description
Proof state [NUT-07]
Fields§
§y: PublicKey
Y of proof
state: State
State of proof
witness: Option<Witness>
Witness data if it is supplied
Trait Implementations§
Source§impl Clone for ProofState
impl Clone for ProofState
Source§fn clone(&self) -> ProofState
fn clone(&self) -> ProofState
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 ProofState
impl Debug for ProofState
Source§impl<'de> Deserialize<'de> for ProofState
impl<'de> Deserialize<'de> for ProofState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProofState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProofState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T> From<ProofState> for NotificationPayload<T>
impl<T> From<ProofState> for NotificationPayload<T>
Source§fn from(proof_state: ProofState) -> NotificationPayload<T>
fn from(proof_state: ProofState) -> NotificationPayload<T>
Converts to this type from the input type.
Source§impl PartialEq for ProofState
impl PartialEq for ProofState
Source§impl Serialize for ProofState
impl Serialize for ProofState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ProofState
impl StructuralPartialEq for ProofState
Auto Trait Implementations§
impl Freeze for ProofState
impl RefUnwindSafe for ProofState
impl Send for ProofState
impl Sync for ProofState
impl Unpin for ProofState
impl UnwindSafe for ProofState
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