pub enum ChangelogAspect {
Version,
Distribution,
Urgency,
Body,
Maintainer,
Timestamp,
}Expand description
What a Trigger::Changelog detector reads from debian/changelog.
Modelled in terms of changelog entry parts rather than raw text, so hosts can map the trigger to whichever part of an entry was edited.
Variants§
Version
The version on any entry’s header line.
Distribution
The release distribution on any entry’s header line (e.g.
unstable, UNRELEASED).
Urgency
The urgency on any entry’s header line.
Body
The body of any changelog entry — the asterisk-bullet items that describe what changed.
Maintainer
The maintainer name/email in any entry’s trailer line.
Timestamp
The date/time in any entry’s trailer line.
Trait Implementations§
Source§impl Clone for ChangelogAspect
impl Clone for ChangelogAspect
Source§fn clone(&self) -> ChangelogAspect
fn clone(&self) -> ChangelogAspect
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 Copy for ChangelogAspect
Source§impl Debug for ChangelogAspect
impl Debug for ChangelogAspect
impl Eq for ChangelogAspect
Source§impl PartialEq for ChangelogAspect
impl PartialEq for ChangelogAspect
Source§fn eq(&self, other: &ChangelogAspect) -> bool
fn eq(&self, other: &ChangelogAspect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChangelogAspect
Auto Trait Implementations§
impl Freeze for ChangelogAspect
impl RefUnwindSafe for ChangelogAspect
impl Send for ChangelogAspect
impl Sync for ChangelogAspect
impl Unpin for ChangelogAspect
impl UnsafeUnpin for ChangelogAspect
impl UnwindSafe for ChangelogAspect
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§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.