pub struct GhReleaseParams<C = VarNotClaimed> {
pub repo_owner: String,
pub repo_name: String,
pub tag: ReadVar<String, C>,
pub title: ReadVar<String, C>,
pub files: ReadVar<Vec<(PathBuf, Option<String>)>, C>,
pub draft: bool,
pub done: WriteVar<SideEffect, C>,
}Fields§
§repo_owner: StringFirst component of a github repo path
e.g: the “foo” in “github.com/foo/bar”
repo_name: StringSecond component of a github repo path
e.g: the “bar” in “github.com/foo/bar”
tag: ReadVar<String, C>Tag associated with the release artifact.
title: ReadVar<String, C>Title associated with the release artifact.
files: ReadVar<Vec<(PathBuf, Option<String>)>, C>Files to upload.
draft: boolWhether the release should be created as a draft
done: WriteVar<SideEffect, C>Implementations§
Source§impl GhReleaseParams
impl GhReleaseParams
pub fn claim(self, ctx: &mut StepCtx<'_>) -> GhReleaseParams<VarClaimed>
Trait Implementations§
Source§impl<'de, C> Deserialize<'de> for GhReleaseParams<C>where
C: Deserialize<'de>,
impl<'de, C> Deserialize<'de> for GhReleaseParams<C>where
C: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<C> Freeze for GhReleaseParams<C>
impl<C> RefUnwindSafe for GhReleaseParams<C>where
C: RefUnwindSafe,
impl<C> Send for GhReleaseParams<C>where
C: Send,
impl<C> Sync for GhReleaseParams<C>where
C: Sync,
impl<C> Unpin for GhReleaseParams<C>where
C: Unpin,
impl<C> UnwindSafe for GhReleaseParams<C>where
C: 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