pub struct OracleInfo {
pub public_key: XOnlyPublicKey,
pub nonces: Vec<XOnlyPublicKey>,
}Expand description
Structure containing oracle information for a single event.
Fields§
§public_key: XOnlyPublicKeyThe public key of the oracle.
nonces: Vec<XOnlyPublicKey>The nonces that the oracle will use to attest to the event.
Trait Implementations§
Source§impl Clone for OracleInfo
impl Clone for OracleInfo
Source§fn clone(&self) -> OracleInfo
fn clone(&self) -> OracleInfo
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 moreAuto Trait Implementations§
impl Freeze for OracleInfo
impl RefUnwindSafe for OracleInfo
impl Send for OracleInfo
impl Sync for OracleInfo
impl Unpin for OracleInfo
impl UnwindSafe for OracleInfo
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