Struct unclog::ChangeSet [−][src]
Expand description
A set of changes, either associated with a release or not.
Fields
summary: Option<String>
An optional high-level summary of the set of changes.
sections: Vec<ChangeSetSection>
The sections making up the change set.
Implementations
impl ChangeSet
[src]
impl ChangeSet
[src]pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
[src]Returns true if this change set has no summary and no entries associated with it.
pub fn are_sections_empty(&self) -> bool
[src]
pub fn are_sections_empty(&self) -> bool
[src]Returns whether or not all the sections are empty.
pub fn read_from_dir<P: AsRef<Path>>(path: P) -> Result<Self>
[src]
pub fn read_from_dir<P: AsRef<Path>>(path: P) -> Result<Self>
[src]Attempt to read a single change set from the given directory.
pub fn read_from_dir_opt<P: AsRef<Path>>(path: P) -> Result<Option<Self>>
[src]
pub fn read_from_dir_opt<P: AsRef<Path>>(path: P) -> Result<Option<Self>>
[src]Attempt to read a single change set from the given directory, like
ChangeSet::read_from_dir
, but return Option::None
if the
directory does not exist.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ChangeSet
impl Send for ChangeSet
impl Sync for ChangeSet
impl Unpin for ChangeSet
impl UnwindSafe for ChangeSet
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more