pub struct ConstitutionAmendment {
pub amendment_id: String,
pub rule_id: String,
pub action: ConstitutionAmendmentAction,
pub rule: Option<ConstitutionRule>,
pub proposed_by: String,
pub approved_by: String,
pub rationale: String,
pub applied_at: String,
}Expand description
ConstitutionAmendment model.
Fields§
§amendment_id: String§rule_id: String§action: ConstitutionAmendmentAction§rule: Option<ConstitutionRule>The new rule, for add and modify. Absent on remove.
proposed_by: String§approved_by: StringThe founder, or the consensus that carried it.
rationale: String§applied_at: StringTrait Implementations§
Source§impl Clone for ConstitutionAmendment
impl Clone for ConstitutionAmendment
Source§fn clone(&self) -> ConstitutionAmendment
fn clone(&self) -> ConstitutionAmendment
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 ConstitutionAmendment
impl Debug for ConstitutionAmendment
Source§impl Default for ConstitutionAmendment
impl Default for ConstitutionAmendment
Source§fn default() -> ConstitutionAmendment
fn default() -> ConstitutionAmendment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConstitutionAmendment
impl<'de> Deserialize<'de> for ConstitutionAmendment
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
Source§impl PartialEq for ConstitutionAmendment
impl PartialEq for ConstitutionAmendment
Source§impl Serialize for ConstitutionAmendment
impl Serialize for ConstitutionAmendment
impl StructuralPartialEq for ConstitutionAmendment
Auto Trait Implementations§
impl Freeze for ConstitutionAmendment
impl RefUnwindSafe for ConstitutionAmendment
impl Send for ConstitutionAmendment
impl Sync for ConstitutionAmendment
impl Unpin for ConstitutionAmendment
impl UnsafeUnpin for ConstitutionAmendment
impl UnwindSafe for ConstitutionAmendment
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