pub struct ReleaseState {
pub tag: Option<String>,
pub release: bool,
pub draft: bool,
pub immutable: bool,
pub assets: Vec<String>,
pub stop: Record,
}Expand description
What GitHub has for one release tag.
Not #[non_exhaustive]: verctl-release constructs fixtures directly.
Fields§
§tag: Option<String>The commit the tag names, peeled through an annotated tag. None when
the tag does not exist.
release: boolWhether a Release exists for the tag, draft or published.
draft: boolWhether that Release is a draft, which release publishes after its
uploads.
immutable: boolWhether GitHub keeps that Release immutable: once published, its assets and tag cannot change (immutable releases).
assets: Vec<String>The file names of the Release’s assets whose upload completed.
stop: RecordThe stop record of a draft’s body, which the last release run that
failed an upload wrote. Display only; a published Release has none.
Trait Implementations§
Source§impl Clone for ReleaseState
impl Clone for ReleaseState
Source§impl Debug for ReleaseState
impl Debug for ReleaseState
Source§impl Default for ReleaseState
impl Default for ReleaseState
impl Eq for ReleaseState
Source§impl PartialEq for ReleaseState
impl PartialEq for ReleaseState
impl StructuralPartialEq for ReleaseState
Auto Trait Implementations§
impl Forget for ReleaseState
impl Freeze for ReleaseState
impl Move for ReleaseState
impl RefUnwindSafe for ReleaseState
impl Send for ReleaseStatewhere
RawVecInner: Send,
impl Sync for ReleaseStatewhere
RawVecInner: Sync,
impl Unpin for ReleaseState
impl UnsafeUnpin for ReleaseStatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ReleaseStatewhere
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.