pub struct PluginInstallTarget {
pub marketplace: Option<PluginInstallMarketplaceTarget>,
pub local_path: Option<PluginInstallLocalPathTarget>,
}Expand description
The one structured install target: a flat object with two optional arms,
exactly one present — the TurnInputPart convention, since the v1 schema
model names no object-variant union. Both arms or neither is -32602 invalidParams.
Fields§
§marketplace: Option<PluginInstallMarketplaceTarget>The marketplace arm: install a named plugin from a store.
local_path: Option<PluginInstallLocalPathTarget>The local-path arm: install from a host folder.
Trait Implementations§
Source§impl Clone for PluginInstallTarget
impl Clone for PluginInstallTarget
Source§impl Debug for PluginInstallTarget
impl Debug for PluginInstallTarget
Source§impl<'de> Deserialize<'de> for PluginInstallTarget
impl<'de> Deserialize<'de> for PluginInstallTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PluginInstallTarget
Source§impl PartialEq for PluginInstallTarget
impl PartialEq for PluginInstallTarget
Source§impl Serialize for PluginInstallTarget
impl Serialize for PluginInstallTarget
impl StructuralPartialEq for PluginInstallTarget
Auto Trait Implementations§
impl Forget for PluginInstallTarget
impl Freeze for PluginInstallTarget
impl Move for PluginInstallTarget
impl RefUnwindSafe for PluginInstallTarget
impl Send for PluginInstallTarget
impl Sync for PluginInstallTarget
impl Unpin for PluginInstallTarget
impl UnsafeUnpin for PluginInstallTarget
impl UnwindSafe for PluginInstallTarget
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