pub struct DeclUnit {
pub identity: String,
pub before_canon: Option<String>,
pub after_canon: Option<String>,
}Expand description
One changed declaration within a change-unit (DR-0054 Decision 6.3).
Fields§
§identity: StringNormalized header line (rule triage, class Report).
before_canon: Option<String>Canonical content hash before the cut; None = added here.
after_canon: Option<String>Canonical content hash after the cut; None = deleted here.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeclUnit
impl<'de> Deserialize<'de> for DeclUnit
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 DeclUnit
impl StructuralPartialEq for DeclUnit
Auto Trait Implementations§
impl Freeze for DeclUnit
impl RefUnwindSafe for DeclUnit
impl Send for DeclUnit
impl Sync for DeclUnit
impl Unpin for DeclUnit
impl UnsafeUnpin for DeclUnit
impl UnwindSafe for DeclUnit
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