pub struct GetGovernanceLedgerResponse {
pub entries: Vec<GovernanceLedgerEntry>,
pub head: GovernanceLedgerHead,
pub total: i64,
pub tenant_total: i64,
}Expand description
GetGovernanceLedgerResponse model.
Fields§
§entries: Vec<GovernanceLedgerEntry>§head: GovernanceLedgerHead§total: i64Number of entries IN THIS RESPONSE, not the size of the ledger. Measured 2026-08-20: total
was 16 while GET /governance/ledger/verify reported entries_checked: 6698 against the
same ledger a second later. Rendering this as “events recorded” understates the ledger by
three orders of magnitude. For the size, read tenant_total.
tenant_total: i64How many entries in the whole ledger belong to the calling tenant — the number to render as
“ledger entries”. Independent of count/from/to. Not entries_checked from
/governance/ledger/verify (that walks every tenant) and not head.seq (global sequence).
Trait Implementations§
Source§impl Clone for GetGovernanceLedgerResponse
impl Clone for GetGovernanceLedgerResponse
Source§fn clone(&self) -> GetGovernanceLedgerResponse
fn clone(&self) -> GetGovernanceLedgerResponse
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 GetGovernanceLedgerResponse
impl Debug for GetGovernanceLedgerResponse
Source§impl Default for GetGovernanceLedgerResponse
impl Default for GetGovernanceLedgerResponse
Source§fn default() -> GetGovernanceLedgerResponse
fn default() -> GetGovernanceLedgerResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetGovernanceLedgerResponse
impl<'de> Deserialize<'de> for GetGovernanceLedgerResponse
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 StructuralPartialEq for GetGovernanceLedgerResponse
Auto Trait Implementations§
impl Freeze for GetGovernanceLedgerResponse
impl RefUnwindSafe for GetGovernanceLedgerResponse
impl Send for GetGovernanceLedgerResponse
impl Sync for GetGovernanceLedgerResponse
impl Unpin for GetGovernanceLedgerResponse
impl UnsafeUnpin for GetGovernanceLedgerResponse
impl UnwindSafe for GetGovernanceLedgerResponse
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