pub struct GetGovernanceDecisionInput {
pub id: String,
pub round: Option<u64>,
}Expand description
Input for reading a single governance log entry by id.
Fields§
§id: StringHuman-readable id, e.g. “GOV-2026-0001” or “APP-2026-0002”.
Browse via get_governance_log first to find the id.
round: Option<u64>Optional 1-indexed round number. When present, data.rounds
is narrowed to the single round — useful for paging through a
Council decision one round at a time when the full transcript
would exceed the token budget.
Trait Implementations§
Source§impl Clone for GetGovernanceDecisionInput
impl Clone for GetGovernanceDecisionInput
Source§fn clone(&self) -> GetGovernanceDecisionInput
fn clone(&self) -> GetGovernanceDecisionInput
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 GetGovernanceDecisionInput
impl Debug for GetGovernanceDecisionInput
Source§impl<'de> Deserialize<'de> for GetGovernanceDecisionInput
impl<'de> Deserialize<'de> for GetGovernanceDecisionInput
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
Auto Trait Implementations§
impl Freeze for GetGovernanceDecisionInput
impl RefUnwindSafe for GetGovernanceDecisionInput
impl Send for GetGovernanceDecisionInput
impl Sync for GetGovernanceDecisionInput
impl Unpin for GetGovernanceDecisionInput
impl UnsafeUnpin for GetGovernanceDecisionInput
impl UnwindSafe for GetGovernanceDecisionInput
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