pub struct PluginMarketplaceRemoveCommand { /* private fields */ }Expand description
Remove a configured marketplace source by name
(codex plugin marketplace remove <MARKETPLACE_NAME>).
Implementations§
Source§impl PluginMarketplaceRemoveCommand
impl PluginMarketplaceRemoveCommand
Sourcepub fn new(name: impl Into<String>) -> Self
pub fn new(name: impl Into<String>) -> Self
Create a marketplace remove command for the given marketplace name.
Sourcepub fn config(self, key_value: impl Into<String>) -> Self
pub fn config(self, key_value: impl Into<String>) -> Self
Override a config key (-c key=value). May be called multiple times.
Sourcepub fn enable(self, feature: impl Into<String>) -> Self
pub fn enable(self, feature: impl Into<String>) -> Self
Enable an optional feature flag (--enable <feature>).
Sourcepub fn disable(self, feature: impl Into<String>) -> Self
pub fn disable(self, feature: impl Into<String>) -> Self
Disable an optional feature flag (--disable <feature>).
Sourcepub fn retry(self, policy: RetryPolicy) -> Self
pub fn retry(self, policy: RetryPolicy) -> Self
Override the retry policy for this command.
Trait Implementations§
Source§impl Clone for PluginMarketplaceRemoveCommand
impl Clone for PluginMarketplaceRemoveCommand
Source§fn clone(&self) -> PluginMarketplaceRemoveCommand
fn clone(&self) -> PluginMarketplaceRemoveCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginMarketplaceRemoveCommand
impl RefUnwindSafe for PluginMarketplaceRemoveCommand
impl Send for PluginMarketplaceRemoveCommand
impl Sync for PluginMarketplaceRemoveCommand
impl Unpin for PluginMarketplaceRemoveCommand
impl UnsafeUnpin for PluginMarketplaceRemoveCommand
impl UnwindSafe for PluginMarketplaceRemoveCommand
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