pub struct GovernanceLedgerEntry {
pub seq: i64,
pub action: String,
pub category: Option<String>,
pub agent_id: Option<String>,
pub tenant_id: Option<String>,
pub payload: Option<Map<String, Value>>,
pub timestamp: String,
pub prev_hash: Option<String>,
pub hash: String,
}Expand description
GovernanceLedgerEntry model.
Fields§
§seq: i64Position in the ONE global chain shared by all tenants — not a per-tenant sequence.
Consecutive rows in a tenant’s page usually have gaps here; the missing numbers are other
tenants’ entries (see the /governance/ledger description). For the tenant’s own count use
tenant_total on the list response.
action: StringWhat happened, e.g. run_complete, constitution_amended.
category: Option<String>Coarse grouping, e.g. execution, governance.
agent_id: Option<String>§tenant_id: Option<String>§payload: Option<Map<String, Value>>Action-specific detail; shape varies by action.
timestamp: String§prev_hash: Option<String>Hash of the preceding entry. Null only for the genesis entry.
hash: StringTrait Implementations§
Source§impl Clone for GovernanceLedgerEntry
impl Clone for GovernanceLedgerEntry
Source§fn clone(&self) -> GovernanceLedgerEntry
fn clone(&self) -> GovernanceLedgerEntry
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 GovernanceLedgerEntry
impl Debug for GovernanceLedgerEntry
Source§impl Default for GovernanceLedgerEntry
impl Default for GovernanceLedgerEntry
Source§fn default() -> GovernanceLedgerEntry
fn default() -> GovernanceLedgerEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GovernanceLedgerEntry
impl<'de> Deserialize<'de> for GovernanceLedgerEntry
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 GovernanceLedgerEntry
impl PartialEq for GovernanceLedgerEntry
Source§impl Serialize for GovernanceLedgerEntry
impl Serialize for GovernanceLedgerEntry
impl StructuralPartialEq for GovernanceLedgerEntry
Auto Trait Implementations§
impl Freeze for GovernanceLedgerEntry
impl RefUnwindSafe for GovernanceLedgerEntry
impl Send for GovernanceLedgerEntry
impl Sync for GovernanceLedgerEntry
impl Unpin for GovernanceLedgerEntry
impl UnsafeUnpin for GovernanceLedgerEntry
impl UnwindSafe for GovernanceLedgerEntry
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