Struct cargo::ops::PublishOpts
source · [−]pub struct PublishOpts<'cfg> {
pub config: &'cfg Config,
pub token: Option<String>,
pub index: Option<String>,
pub verify: bool,
pub allow_dirty: bool,
pub jobs: Option<i32>,
pub keep_going: bool,
pub to_publish: Packages,
pub targets: Vec<String>,
pub dry_run: bool,
pub registry: Option<String>,
pub cli_features: CliFeatures,
}
Fields
config: &'cfg Config
token: Option<String>
index: Option<String>
verify: bool
allow_dirty: bool
jobs: Option<i32>
keep_going: bool
to_publish: Packages
targets: Vec<String>
dry_run: bool
registry: Option<String>
cli_features: CliFeatures
Auto Trait Implementations
impl<'cfg> !RefUnwindSafe for PublishOpts<'cfg>
impl<'cfg> !Send for PublishOpts<'cfg>
impl<'cfg> !Sync for PublishOpts<'cfg>
impl<'cfg> Unpin for PublishOpts<'cfg>
impl<'cfg> !UnwindSafe for PublishOpts<'cfg>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more