pub struct OraclePair {
pub id: String,
pub left: OracleLocation,
pub right: OracleLocation,
pub expected: bool,
pub kind: Option<CloneKind>,
}Fields§
§id: String§left: OracleLocation§right: OracleLocation§expected: bool§kind: Option<CloneKind>Implementations§
Source§impl OraclePair
impl OraclePair
pub fn positive( id: impl Into<String>, kind: CloneKind, left: OracleLocation, right: OracleLocation, ) -> Self
pub fn negative( id: impl Into<String>, left: OracleLocation, right: OracleLocation, ) -> Self
Trait Implementations§
Source§impl Clone for OraclePair
impl Clone for OraclePair
Source§fn clone(&self) -> OraclePair
fn clone(&self) -> OraclePair
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 moreSource§impl Debug for OraclePair
impl Debug for OraclePair
impl Eq for OraclePair
Source§impl PartialEq for OraclePair
impl PartialEq for OraclePair
impl StructuralPartialEq for OraclePair
Auto Trait Implementations§
impl Freeze for OraclePair
impl RefUnwindSafe for OraclePair
impl Send for OraclePair
impl Sync for OraclePair
impl Unpin for OraclePair
impl UnsafeUnpin for OraclePair
impl UnwindSafe for OraclePair
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