pub struct OperatorRecord {
pub prev: Option<RecordId>,
pub version: u32,
pub timestamp: SystemTime,
pub entries: Vec<OperatorEntry>,
}
Expand description
An operator record is a collection of entries published together by the same author
Fields§
§prev: Option<RecordId>
The hash of the previous operator record envelope
version: u32
The version of the registry protocol used
timestamp: SystemTime
When this record was published
entries: Vec<OperatorEntry>
The entries being published in this record
Trait Implementations§
Source§impl Clone for OperatorRecord
impl Clone for OperatorRecord
Source§fn clone(&self) -> OperatorRecord
fn clone(&self) -> OperatorRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OperatorRecord
impl Debug for OperatorRecord
Source§impl<'a> From<&'a OperatorRecord> for OperatorRecord
impl<'a> From<&'a OperatorRecord> for OperatorRecord
Source§fn from(record: &'a OperatorRecord) -> Self
fn from(record: &'a OperatorRecord) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OperatorRecord
impl PartialEq for OperatorRecord
Source§impl Record for OperatorRecord
impl Record for OperatorRecord
Source§impl Signable for OperatorRecord
impl Signable for OperatorRecord
Source§impl TryFrom<OperatorRecord> for OperatorRecord
impl TryFrom<OperatorRecord> for OperatorRecord
impl Eq for OperatorRecord
impl StructuralPartialEq for OperatorRecord
Auto Trait Implementations§
impl Freeze for OperatorRecord
impl RefUnwindSafe for OperatorRecord
impl Send for OperatorRecord
impl Sync for OperatorRecord
impl Unpin for OperatorRecord
impl UnwindSafe for OperatorRecord
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> 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.