pub(crate) struct EditContext<'a> {
pub date: &'a str,
pub entries: &'a BTreeMap<String, Entry>,
pub released: &'a BTreeSet<String>,
}Expand description
What edit planning needs beyond the units and their versions.
Fields§
§date: &'a strThe release date written to changelogs.
entries: &'a BTreeMap<String, Entry>The changelog entries by unit.
released: &'a BTreeSet<String>The units that get a version anywhere in this proposal.
Trait Implementations§
Source§impl<'a> Clone for EditContext<'a>
impl<'a> Clone for EditContext<'a>
Source§fn clone(&self) -> EditContext<'a>
fn clone(&self) -> EditContext<'a>
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 moreimpl<'a> Copy for EditContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for EditContext<'a>
impl<'a> RefUnwindSafe for EditContext<'a>
impl<'a> Send for EditContext<'a>
impl<'a> Sync for EditContext<'a>
impl<'a> Unpin for EditContext<'a>
impl<'a> UnsafeUnpin for EditContext<'a>
impl<'a> UnwindSafe for EditContext<'a>
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