pub struct PluginMarketplaceAddRequest {
pub source: String,
pub source_ref: Option<String>,
pub sparse_path: Option<String>,
pub overrides: CliOverridesPatch,
}Expand description
Request for codex plugin marketplace add <SOURCE>.
Fields§
§source: StringMarketplace source to install.
source_ref: Option<String>Optional ref passed via --ref.
sparse_path: Option<String>Optional sparse path passed via --sparse.
overrides: CliOverridesPatchPer-call CLI overrides layered on top of the builder.
Implementations§
Source§impl PluginMarketplaceAddRequest
impl PluginMarketplaceAddRequest
pub fn new(source: impl Into<String>) -> Self
Sourcepub fn source_ref(self, source_ref: impl Into<String>) -> Self
pub fn source_ref(self, source_ref: impl Into<String>) -> Self
Sets the optional --ref value.
Sourcepub fn sparse_path(self, sparse_path: impl Into<String>) -> Self
pub fn sparse_path(self, sparse_path: impl Into<String>) -> Self
Sets the optional --sparse value.
Sourcepub fn with_overrides(self, overrides: CliOverridesPatch) -> Self
pub fn with_overrides(self, overrides: CliOverridesPatch) -> Self
Replaces the default CLI overrides for this request.
Trait Implementations§
Source§impl Clone for PluginMarketplaceAddRequest
impl Clone for PluginMarketplaceAddRequest
Source§fn clone(&self) -> PluginMarketplaceAddRequest
fn clone(&self) -> PluginMarketplaceAddRequest
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 moreSource§impl Debug for PluginMarketplaceAddRequest
impl Debug for PluginMarketplaceAddRequest
Source§impl PartialEq for PluginMarketplaceAddRequest
impl PartialEq for PluginMarketplaceAddRequest
Source§fn eq(&self, other: &PluginMarketplaceAddRequest) -> bool
fn eq(&self, other: &PluginMarketplaceAddRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PluginMarketplaceAddRequest
impl StructuralPartialEq for PluginMarketplaceAddRequest
Auto Trait Implementations§
impl Freeze for PluginMarketplaceAddRequest
impl RefUnwindSafe for PluginMarketplaceAddRequest
impl Send for PluginMarketplaceAddRequest
impl Sync for PluginMarketplaceAddRequest
impl Unpin for PluginMarketplaceAddRequest
impl UnsafeUnpin for PluginMarketplaceAddRequest
impl UnwindSafe for PluginMarketplaceAddRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.