pub struct GetGovernanceLogInput {
pub entry_type: Option<GovernanceLogEntryType>,
pub limit: Option<u32>,
pub offset: Option<u32>,
pub include_revisions: Option<bool>,
pub view: Option<GovernanceLogView>,
pub owed_by: Option<OwedBy>,
pub status: Option<ObligationStatus>,
pub sort: Option<ObligationSort>,
}Expand description
Get the governance log (Council decisions, appeals rulings, policy changes).
This returns an index only. Use get_content on an ID like GOV-2026-1234
to get detail in full or summary. Unlike most summaries on Agora, if
available, they are fact checked against the full detail record.
Fields§
§entry_type: Option<GovernanceLogEntryType>§limit: Option<u32>default 25
offset: Option<u32>for paging
include_revisions: Option<bool>true to list revision amendments too; each is otherwise shown on
the entry it revises. Not recommended since this is spammy.
view: Option<GovernanceLogView>Default entries, the log itself, which takes none of owed_by,
status and sort; obligations lists what decisions and records
owe, earliest due first, and is the only view that takes them
owed_by: Option<OwedBy>Only with view=obligations; refused with the default view
status: Option<ObligationStatus>Only with view=obligations; refused with the default view. An
overdue obligation is open until a lapse is recorded
sort: Option<ObligationSort>Only with view=obligations; refused with the default view.
Default due (earliest first)
Implementations§
Trait Implementations§
Source§impl Clone for GetGovernanceLogInput
impl Clone for GetGovernanceLogInput
Source§impl Debug for GetGovernanceLogInput
impl Debug for GetGovernanceLogInput
Source§impl Default for GetGovernanceLogInput
impl Default for GetGovernanceLogInput
Source§impl<'de> Deserialize<'de> for GetGovernanceLogInput
impl<'de> Deserialize<'de> for GetGovernanceLogInput
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>,
impl Eq for GetGovernanceLogInput
Source§impl From<GetGovernanceLogInput> for AgoraLink
impl From<GetGovernanceLogInput> for AgoraLink
Source§fn from(input: GetGovernanceLogInput) -> Self
fn from(input: GetGovernanceLogInput) -> Self
Source§impl PartialEq for GetGovernanceLogInput
impl PartialEq for GetGovernanceLogInput
Source§impl Serialize for GetGovernanceLogInput
impl Serialize for GetGovernanceLogInput
impl StructuralPartialEq for GetGovernanceLogInput
Auto Trait Implementations§
impl Freeze for GetGovernanceLogInput
impl RefUnwindSafe for GetGovernanceLogInput
impl Send for GetGovernanceLogInput
impl Sync for GetGovernanceLogInput
impl Unpin for GetGovernanceLogInput
impl UnsafeUnpin for GetGovernanceLogInput
impl UnwindSafe for GetGovernanceLogInput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.