pub struct PublishOptions {
pub commands: Vec<String>,
pub solver_sha256: Option<String>,
pub dry_run: bool,
}Expand description
What publish exports.
Fields§
§commands: Vec<String>Only entries for these commands (empty: every command).
solver_sha256: Option<String>Only entries whose solver binary SHA-256 starts with this hex.
dry_run: boolCount what would be published, and write nothing.
Trait Implementations§
Source§impl Clone for PublishOptions
impl Clone for PublishOptions
Source§impl Debug for PublishOptions
impl Debug for PublishOptions
Auto Trait Implementations§
impl Forget for PublishOptions
impl Freeze for PublishOptions
impl Move for PublishOptions
impl RefUnwindSafe for PublishOptions
impl Send for PublishOptionswhere
RawVecInner: Send,
impl Sync for PublishOptionswhere
RawVecInner: Sync,
impl Unpin for PublishOptions
impl UnsafeUnpin for PublishOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for PublishOptionswhere
RawVecInner: UnwindSafe,
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