pub struct PublishRequest<'a, G, R, N, F> {
pub state: &'a ReleaseState,
pub repository: &'a RepositoryRoot,
pub commit: &'a str,
pub authority: &'a AuthorityBranch,
pub git: &'a G,
pub registry: R,
pub npm_registry: Option<N>,
pub forge: &'a F,
pub artifacts: Option<ArtifactInput<'a>>,
pub credentials: PublishCredentials,
pub account: &'a Account<String>,
}Expand description
Everything publish works from.
Fields§
§state: &'a ReleaseStateThe evaluated release policy.
repository: &'a RepositoryRootRepository checked out at commit.
commit: &'a strThe commit to publish.
Authoritative branch that must point at commit.
git: &'a GLocal Git operations.
registry: RPackage registry lookup for Cargo units.
npm_registry: Option<N>Package registry lookup for npm units, when npm is configured.
forge: &'a FForge tags, releases, and proposal.
artifacts: Option<ArtifactInput<'a>>Built artifacts of the selected units, when any has artifacts.
credentials: PublishCredentialsWhat package uploads and registry logins authenticate with.
account: &'a Account<String>The evaluated account that tags and logs in.
Trait Implementations§
Auto Trait Implementations§
impl<'a, G, R, N, F> Freeze for PublishRequest<'a, G, R, N, F>
impl<'a, G, R, N, F> RefUnwindSafe for PublishRequest<'a, G, R, N, F>
impl<'a, G, R, N, F> Send for PublishRequest<'a, G, R, N, F>
impl<'a, G, R, N, F> Sync for PublishRequest<'a, G, R, N, F>
impl<'a, G, R, N, F> Unpin for PublishRequest<'a, G, R, N, F>
impl<'a, G, R, N, F> UnsafeUnpin for PublishRequest<'a, G, R, N, F>
impl<'a, G, R, N, F> UnwindSafe for PublishRequest<'a, G, R, N, F>
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