pub struct OracleDutiesMapKey {
pub target_timestamp: TimestampMs,
pub oracle_id: OracleId,
}Expand description
Key type for the oracle duties map, consisting of a target commit and oracle identifier.
Fields§
§target_timestamp: TimestampMs§oracle_id: OracleIdTrait Implementations§
Source§impl Clone for OracleDutiesMapKey
impl Clone for OracleDutiesMapKey
Source§fn clone(&self) -> OracleDutiesMapKey
fn clone(&self) -> OracleDutiesMapKey
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 OracleDutiesMapKey
impl Debug for OracleDutiesMapKey
Source§impl<'de> Deserialize<'de> for OracleDutiesMapKey
impl<'de> Deserialize<'de> for OracleDutiesMapKey
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 OracleDutiesMapKey
impl Hash for OracleDutiesMapKey
Source§impl Ord for OracleDutiesMapKey
impl Ord for OracleDutiesMapKey
Source§impl PartialEq for OracleDutiesMapKey
impl PartialEq for OracleDutiesMapKey
Source§impl PartialOrd for OracleDutiesMapKey
impl PartialOrd for OracleDutiesMapKey
Source§impl Serialize for OracleDutiesMapKey
impl Serialize for OracleDutiesMapKey
impl Copy for OracleDutiesMapKey
impl Eq for OracleDutiesMapKey
impl StructuralPartialEq for OracleDutiesMapKey
Auto Trait Implementations§
impl Freeze for OracleDutiesMapKey
impl RefUnwindSafe for OracleDutiesMapKey
impl Send for OracleDutiesMapKey
impl Sync for OracleDutiesMapKey
impl Unpin for OracleDutiesMapKey
impl UnsafeUnpin for OracleDutiesMapKey
impl UnwindSafe for OracleDutiesMapKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.