pub struct FrontmatterChange {
pub id: ConceptId,
pub added: Vec<String>,
pub removed: Vec<String>,
pub changed: Vec<(String, String, String)>,
}Expand description
Frontmatter key changes for a concept present in both bundles.
Fields§
§id: ConceptIdThe concept the change applies to.
added: Vec<String>Keys present in the second bundle but not the first.
removed: Vec<String>Keys present in the first bundle but not the second.
changed: Vec<(String, String, String)>Keys present in both but with a different value, as
(key, old display form, new display form).
Trait Implementations§
Source§impl Clone for FrontmatterChange
impl Clone for FrontmatterChange
Source§fn clone(&self) -> FrontmatterChange
fn clone(&self) -> FrontmatterChange
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 FrontmatterChange
impl Debug for FrontmatterChange
impl Eq for FrontmatterChange
Source§impl PartialEq for FrontmatterChange
impl PartialEq for FrontmatterChange
impl StructuralPartialEq for FrontmatterChange
Auto Trait Implementations§
impl Freeze for FrontmatterChange
impl RefUnwindSafe for FrontmatterChange
impl Send for FrontmatterChange
impl Sync for FrontmatterChange
impl Unpin for FrontmatterChange
impl UnsafeUnpin for FrontmatterChange
impl UnwindSafe for FrontmatterChange
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