pub struct GithubMavenPublisher { /* private fields */ }Implementations§
Source§impl GithubMavenPublisher
impl GithubMavenPublisher
pub fn new( root: impl Into<PathBuf>, repository: &str, name: &str, config: &PublisherConfig, wrapper: impl Into<PathBuf>, actor: &str, token: Secret, runner: Arc<dyn CommandRunner>, ) -> Result<Self>
pub fn new_with_remote( root: impl Into<PathBuf>, repository: &str, name: &str, config: &PublisherConfig, wrapper: impl Into<PathBuf>, actor: &str, token: Secret, runner: Arc<dyn CommandRunner>, remote: Arc<dyn MavenRemote>, ) -> Result<Self>
Trait Implementations§
Source§impl Publisher for GithubMavenPublisher
impl Publisher for GithubMavenPublisher
fn inspect(&self, plan: &TargetPlan) -> Result<PublicationState>
fn publish(&self, manifest: &ArtifactManifest) -> Result<PublicationReceipt>
fn verify(&self, manifest: &ArtifactManifest) -> Result<VerificationReport>
fn verify_existing(&self, plan: &TargetPlan) -> Result<VerificationReport>
Auto Trait Implementations§
impl !RefUnwindSafe for GithubMavenPublisher
impl !UnwindSafe for GithubMavenPublisher
impl Freeze for GithubMavenPublisher
impl Send for GithubMavenPublisher
impl Sync for GithubMavenPublisher
impl Unpin for GithubMavenPublisher
impl UnsafeUnpin for GithubMavenPublisher
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