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<u32>,
pub to_publish: Packages,
pub targets: Vec<String>,
pub dry_run: bool,
pub registry: Option<String>,
pub cli_features: CliFeatures,
}Fields
config: &'cfg Configtoken: Option<String>index: Option<String>verify: boolallow_dirty: booljobs: Option<u32>to_publish: Packagestargets: Vec<String>dry_run: boolregistry: Option<String>cli_features: CliFeaturesAuto 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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more