pub enum DraftState {
Missing,
AtHead(ReleaseRecord),
Stale(ReleaseRecord),
}Expand description
A tag with no published Release, and the draft a run finds for it.
Variants§
Missing
No Release exists for the tag.
AtHead(ReleaseRecord)
A draft at HEAD, which the run uploads to and publishes.
Stale(ReleaseRecord)
A draft at another commit or at a branch name. Its tarballs were built from other code, so the run deletes it and creates a draft at HEAD.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for DraftState
impl Freeze for DraftState
impl Move for DraftState
impl RefUnwindSafe for DraftState
impl Send for DraftStatewhere
RawVecInner: Send,
impl Sync for DraftStatewhere
RawVecInner: Sync,
impl Unpin for DraftState
impl UnsafeUnpin for DraftStatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ForgeAsset>: UnsafeUnpin,
impl UnwindSafe for DraftStatewhere
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