pub enum ExistingRelease {
Published(ReleaseRecord),
DraftState(DraftState),
}Expand description
What a run finds on GitHub for one release tag, before it writes anything.
Variants§
Published(ReleaseRecord)
A Release published at HEAD. The run opens no draft for it and proves its tag. A mutable one takes the declared tarballs it lacks, so an older release missing a target can still be finished.
DraftState(DraftState)
No published Release: the run opens a draft for the tag.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for ExistingRelease
impl Freeze for ExistingRelease
impl Move for ExistingRelease
impl RefUnwindSafe for ExistingRelease
impl Send for ExistingReleasewhere
RawVecInner: Send,
impl Sync for ExistingReleasewhere
RawVecInner: Sync,
impl Unpin for ExistingRelease
impl UnsafeUnpin for ExistingReleasewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ForgeAsset>: UnsafeUnpin,
impl UnwindSafe for ExistingReleasewhere
RawVecInner: UnwindSafe,
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