pub struct ReleaseInfo {
pub current_branch: ReleaseBranchInfo,
pub new_branch: Option<ReleaseBranchInfo>,
}Expand description
Information about the branches affected by release preparation.
Fields§
§current_branch: ReleaseBranchInfoThe branch from which the release was prepared.
new_branch: Option<ReleaseBranchInfo>The newly-created release branch, or None when advancing one.
Implementations§
Source§impl ReleaseInfo
impl ReleaseInfo
Sourcepub fn to_json(&self) -> ReleasePreparationResult<String>
pub fn to_json(&self) -> ReleasePreparationResult<String>
Serializes this result using the same property names as the .NET implementation.
Trait Implementations§
Source§impl Clone for ReleaseInfo
impl Clone for ReleaseInfo
Source§impl Debug for ReleaseInfo
impl Debug for ReleaseInfo
impl Eq for ReleaseInfo
Source§impl PartialEq for ReleaseInfo
impl PartialEq for ReleaseInfo
Source§impl Serialize for ReleaseInfo
impl Serialize for ReleaseInfo
impl StructuralPartialEq for ReleaseInfo
Auto Trait Implementations§
impl Freeze for ReleaseInfo
impl RefUnwindSafe for ReleaseInfo
impl Send for ReleaseInfo
impl Sync for ReleaseInfo
impl Unpin for ReleaseInfo
impl UnsafeUnpin for ReleaseInfo
impl UnwindSafe for ReleaseInfo
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