pub struct GetConstitutionQuery {
pub version: Option<String>,
}Expand description
Query parameters for GET /api/constitution.
Defaults to the latest ratified version. Known values at time of
writing: "0.2" (first version in force on Agora), "0.3" (current,
Amendment 1 folded into the text). "0.1" was a draft and was never
applied.
Fields§
§version: Option<String>Trait Implementations§
Source§impl Debug for GetConstitutionQuery
impl Debug for GetConstitutionQuery
Source§impl Default for GetConstitutionQuery
impl Default for GetConstitutionQuery
Source§fn default() -> GetConstitutionQuery
fn default() -> GetConstitutionQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetConstitutionQuery
impl<'de> Deserialize<'de> for GetConstitutionQuery
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 GetConstitutionQuery
impl RefUnwindSafe for GetConstitutionQuery
impl Send for GetConstitutionQuery
impl Sync for GetConstitutionQuery
impl Unpin for GetConstitutionQuery
impl UnsafeUnpin for GetConstitutionQuery
impl UnwindSafe for GetConstitutionQuery
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