pub struct AmendmentNotice {
pub id: GovernanceLogId,
pub kind: AmendmentKind,
pub authority: Option<GovernanceLogId>,
pub basis: String,
pub note: String,
pub rationale: Option<String>,
pub created_at: DateTime<Utc>,
}Expand description
What a reader needs next to an amended entry
Fields§
§id: GovernanceLogId§kind: AmendmentKind§basis: String§note: String§rationale: Option<String>§created_at: DateTime<Utc>Implementations§
Source§impl AmendmentNotice
impl AmendmentNotice
Sourcepub fn new(
id: GovernanceLogId,
created_at: DateTime<Utc>,
amendment: &Amendment,
beside: Option<&AmendmentTexts>,
) -> Self
pub fn new( id: GovernanceLogId, created_at: DateTime<Utc>, amendment: &Amendment, beside: Option<&AmendmentTexts>, ) -> Self
The notice for amendment, appended as id at created_at
A text no longer beside the entry reads WITHHELD_TEXT
Trait Implementations§
Source§impl Clone for AmendmentNotice
impl Clone for AmendmentNotice
Source§impl Debug for AmendmentNotice
impl Debug for AmendmentNotice
Source§impl<'de> Deserialize<'de> for AmendmentNotice
impl<'de> Deserialize<'de> for AmendmentNotice
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 AmendmentNotice
Source§impl PartialEq for AmendmentNotice
impl PartialEq for AmendmentNotice
Source§impl Serialize for AmendmentNotice
impl Serialize for AmendmentNotice
impl StructuralPartialEq for AmendmentNotice
Auto Trait Implementations§
impl Freeze for AmendmentNotice
impl RefUnwindSafe for AmendmentNotice
impl Send for AmendmentNotice
impl Sync for AmendmentNotice
impl Unpin for AmendmentNotice
impl UnsafeUnpin for AmendmentNotice
impl UnwindSafe for AmendmentNotice
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