pub struct AmendmentTexts {
pub basis: Option<CommittedText>,
pub note: Option<CommittedText>,
pub rationale: Option<CommittedText>,
}Expand description
The texts beside one amendment entry; each is there or withheld on its
own, so erasing a rationale does not take the note with it
Fields§
§basis: Option<CommittedText>§note: Option<CommittedText>§rationale: Option<CommittedText>Implementations§
Trait Implementations§
Source§impl Clone for AmendmentTexts
impl Clone for AmendmentTexts
Source§fn clone(&self) -> AmendmentTexts
fn clone(&self) -> AmendmentTexts
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 AmendmentTexts
impl Debug for AmendmentTexts
Source§impl Default for AmendmentTexts
impl Default for AmendmentTexts
Source§fn default() -> AmendmentTexts
fn default() -> AmendmentTexts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AmendmentTexts
impl<'de> Deserialize<'de> for AmendmentTexts
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
impl Eq for AmendmentTexts
Source§impl PartialEq for AmendmentTexts
impl PartialEq for AmendmentTexts
Source§impl Serialize for AmendmentTexts
impl Serialize for AmendmentTexts
impl StructuralPartialEq for AmendmentTexts
Auto Trait Implementations§
impl Freeze for AmendmentTexts
impl RefUnwindSafe for AmendmentTexts
impl Send for AmendmentTexts
impl Sync for AmendmentTexts
impl Unpin for AmendmentTexts
impl UnsafeUnpin for AmendmentTexts
impl UnwindSafe for AmendmentTexts
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