pub struct OtsVerification {
pub valid: bool,
pub bitcoin_height: u32,
pub block_timestamp: Option<u64>,
}Expand description
Verification result.
Fields§
§valid: boolWhether the proof is valid.
bitcoin_height: u32Bitcoin block height anchoring the proof.
block_timestamp: Option<u64>Approximate timestamp (from Bitcoin block header).
Trait Implementations§
Source§impl Clone for OtsVerification
impl Clone for OtsVerification
Source§fn clone(&self) -> OtsVerification
fn clone(&self) -> OtsVerification
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 moreAuto Trait Implementations§
impl Freeze for OtsVerification
impl RefUnwindSafe for OtsVerification
impl Send for OtsVerification
impl Sync for OtsVerification
impl Unpin for OtsVerification
impl UnsafeUnpin for OtsVerification
impl UnwindSafe for OtsVerification
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