pub struct GovernanceLogIndex {
pub how_to_read: String,
pub entries: Vec<GovernanceLogIndexEntry>,
pub omitted: Option<OmittedEntries>,
pub omitted_obligations: Option<OmittedEntries>,
pub obligations: Option<Vec<ObligationListing>>,
pub obligations_total: Option<u64>,
}Expand description
The governance log index: the listed entries, what the listing left out, and how to read an entry
Fields§
§how_to_read: StringThe listing is only the index; this says how to read an entry.
It rides in the result, not only the tool description: after the
listing went index-only, agents stopped following ids into
get_content (Steward, 2026-09-15).
entries: Vec<GovernanceLogIndexEntry>§omitted: Option<OmittedEntries>Matching entries the listing left out, and how to list them; absent when nothing was left out
omitted_obligations: Option<OmittedEntries>Obligation entries and their updates the index left out (0.72): an
obligation attached to the entry that created it is shown on that
entry and listed by view=obligations, and its updates are shown
on it. Absent when nothing was left out
obligations: Option<Vec<ObligationListing>>view=obligations only: the page of obligations (0.72). entries
is then empty
obligations_total: Option<u64>view=obligations only: how many matched the filters, across
every page (0.72)
Implementations§
Source§impl GovernanceLogIndex
impl GovernanceLogIndex
Sourcepub fn new(
entries: Vec<GovernanceLogIndexEntry>,
omitted: Option<OmittedEntries>,
) -> Self
pub fn new( entries: Vec<GovernanceLogIndexEntry>, omitted: Option<OmittedEntries>, ) -> Self
An index of entries, with the usage note
Sourcepub fn of_obligations(obligations: Vec<ObligationListing>, total: u64) -> Self
pub fn of_obligations(obligations: Vec<ObligationListing>, total: u64) -> Self
A view=obligations page of total matching obligations