pub struct TagResult {
pub tag_info: TagInfo,
pub github_url: Option<String>,
pub changes: Option<String>,
pub changes_source: Option<ChangesSource>,
pub truncated_lines: usize,
pub commits: Vec<CommitInfo>,
}Expand description
Enriched tag result with changes information
Fields§
§tag_info: TagInfo§github_url: Option<String>§changes: Option<String>Changes content (release notes, changelog section, or commit list)
changes_source: Option<ChangesSource>Where the changes came from
truncated_lines: usizeNumber of lines truncated (0 if not truncated)
commits: Vec<CommitInfo>Commits between this tag and previous (when source is Commits)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TagResult
impl RefUnwindSafe for TagResult
impl Send for TagResult
impl Sync for TagResult
impl Unpin for TagResult
impl UnsafeUnpin for TagResult
impl UnwindSafe for TagResult
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more