pub struct StatementRegistration {
pub statement_hash: String,
pub informal_ref: String,
pub registered_by: String,
pub registered_at: String,
pub finding_id: Option<String>,
}Expand description
A registered statement hash: the priority timestamp primitive.
Fields§
§statement_hash: String§informal_ref: String§registered_by: String§registered_at: String§finding_id: Option<String>The canonical finding-to-registration edge (STATE_PLANE_MEMO
appendix gap 5): the vf_ id this registration timestamps, when
the registrant declared one. Carried as an optional payload
field on the existing statement.registered kind — old events
(and old serialized state) parse unchanged via the serde
default; None serializes to nothing, so pre-edge state stays
byte-identical.
Trait Implementations§
Source§impl Clone for StatementRegistration
impl Clone for StatementRegistration
Source§fn clone(&self) -> StatementRegistration
fn clone(&self) -> StatementRegistration
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 StatementRegistration
impl Debug for StatementRegistration
Source§impl<'de> Deserialize<'de> for StatementRegistration
impl<'de> Deserialize<'de> for StatementRegistration
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 PartialEq for StatementRegistration
impl PartialEq for StatementRegistration
Source§impl Serialize for StatementRegistration
impl Serialize for StatementRegistration
impl StructuralPartialEq for StatementRegistration
Auto Trait Implementations§
impl Freeze for StatementRegistration
impl RefUnwindSafe for StatementRegistration
impl Send for StatementRegistration
impl Sync for StatementRegistration
impl Unpin for StatementRegistration
impl UnsafeUnpin for StatementRegistration
impl UnwindSafe for StatementRegistration
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