pub struct PublishConfig {
pub registry_url: String,
pub auth_token: String,
pub skip_verify: bool,
pub as_draft: bool,
pub sign: bool,
pub key_id: Option<String>,
}Expand description
Configuration for artifact publishing
Fields§
§registry_url: StringRegistry base URL (e.g., “https://registry.example.com”)
auth_token: StringAuthentication token (required for publishing)
skip_verify: boolWhether to skip verification before publishing
as_draft: boolWhether to publish as draft (not publicly visible)
sign: boolWhether to sign the artifact before publishing
key_id: Option<String>Signing key ID (if signing)
Trait Implementations§
Source§impl Clone for PublishConfig
impl Clone for PublishConfig
Source§fn clone(&self) -> PublishConfig
fn clone(&self) -> PublishConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PublishConfig
impl RefUnwindSafe for PublishConfig
impl Send for PublishConfig
impl Sync for PublishConfig
impl Unpin for PublishConfig
impl UnsafeUnpin for PublishConfig
impl UnwindSafe for PublishConfig
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