pub struct Entry {Show 13 fields
pub record: Record,
pub status: Status,
pub trust: Trust,
pub current: Vec<String>,
pub related: Vec<(RelationKind, String)>,
pub verified: Option<bool>,
pub by: String,
pub history: Vec<Event>,
pub retired: Option<String>,
pub outside: Vec<String>,
pub confirmers: Vec<String>,
pub vouched: Vec<Anchor>,
pub alike: Option<Alike>,
}Expand description
A record with its derived state against the current index.
Fields§
§record: Record§status: Status§trust: Trust§current: Vec<String>Current symbol ids the record’s anchors map to (after moves/renames).
Ids of records that supersede, retract, confirm or dispute this one.
verified: Option<bool>Signature check: verified, failed (record treated as T0), or unsigned/unchecked.
by: StringWho wrote it, for people to read.
history: Vec<Event>Reviews of this record, oldest first.
retired: Option<String>Why it was retracted: outdated (archived) or wrong (invalidated).
outside: Vec<String>The writer’s teams, when the note is about another team’s code and none of its members confirmed it.
confirmers: Vec<String>People other than the writer who confirmed it, themselves or through their agents.
vouched: Vec<Anchor>Where the code is now, when a person’s confirmation re-anchored the record.
alike: Option<Alike>An older standing record this one reads like, until a person keeps or retires it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
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
Auto Trait Implementations§
impl Forget for Entry
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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