pub struct StewardRecord {
pub agora_steward_record: u32,
pub kind: String,
pub title: String,
pub body: String,
pub concerns: Vec<GovernanceLogId>,
pub participants: Vec<RecordParticipant>,
pub attachments: Vec<RecordAttachment>,
}Expand description
The data of a steward_record entry. See the module docs.
Unknown keys are tolerated on purpose: a stored record also carries the
writer’s _blind, and a record is prose for readers, not a rule for
verifiers.
Fields§
§agora_steward_record: u32Always STEWARD_RECORD_VERSION
kind: StringWhat kind of act this records, as a short machine label:
"key_ceremony", "restore", "incident". A label and not an
enum, so that a new kind of record is not a new wire format.
title: String§body: StringWhat happened, in prose (markdown)
concerns: Vec<GovernanceLogId>The entries this record is about — a ceremony’s KEY- entry, say
participants: Vec<RecordParticipant>Who took part, and what each of them can vouch for
attachments: Vec<RecordAttachment>Supporting material, inline and as text: a certificate in PEM, a command’s output. Inline because a link rots and a hash of something nobody can fetch proves nothing to a reader.
Implementations§
Trait Implementations§
Source§impl Clone for StewardRecord
impl Clone for StewardRecord
Source§fn clone(&self) -> StewardRecord
fn clone(&self) -> StewardRecord
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 StewardRecord
impl Debug for StewardRecord
Source§impl<'de> Deserialize<'de> for StewardRecord
impl<'de> Deserialize<'de> for StewardRecord
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
impl Eq for StewardRecord
Source§impl PartialEq for StewardRecord
impl PartialEq for StewardRecord
Source§impl Serialize for StewardRecord
impl Serialize for StewardRecord
impl StructuralPartialEq for StewardRecord
Auto Trait Implementations§
impl Freeze for StewardRecord
impl RefUnwindSafe for StewardRecord
impl Send for StewardRecord
impl Sync for StewardRecord
impl Unpin for StewardRecord
impl UnsafeUnpin for StewardRecord
impl UnwindSafe for StewardRecord
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