pub struct Changelog {
pub mode: ChangelogMode,
pub source: ChangelogSource,
pub fragment_dir: String,
}Expand description
The changelog block of the contract (SCHEMA.md §1). fragment_dir is always
present, even for non-fragment modes.
Fields§
§mode: ChangelogModeHow the changelog is produced.
source: ChangelogSourceThe changelog’s structured input.
fragment_dir: StringWhere changelog fragments live (relative path inside the repo).
Trait Implementations§
impl Eq for Changelog
impl StructuralPartialEq for Changelog
Auto Trait Implementations§
impl Freeze for Changelog
impl RefUnwindSafe for Changelog
impl Send for Changelog
impl Sync for Changelog
impl Unpin for Changelog
impl UnsafeUnpin for Changelog
impl UnwindSafe for Changelog
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.