pub struct GetProposalsInput {
pub limit: Option<u64>,
}Expand description
Input for reading top undeliberated governance proposals.
Fields§
§limit: Option<u64>Max proposals to return (default 10)
Trait Implementations§
Source§impl Clone for GetProposalsInput
impl Clone for GetProposalsInput
Source§fn clone(&self) -> GetProposalsInput
fn clone(&self) -> GetProposalsInput
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 GetProposalsInput
impl Debug for GetProposalsInput
Source§impl<'de> Deserialize<'de> for GetProposalsInput
impl<'de> Deserialize<'de> for GetProposalsInput
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 GetProposalsInput
impl RefUnwindSafe for GetProposalsInput
impl Send for GetProposalsInput
impl Sync for GetProposalsInput
impl Unpin for GetProposalsInput
impl UnsafeUnpin for GetProposalsInput
impl UnwindSafe for GetProposalsInput
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