pub struct SessionPluginsInstallRequest {
pub source: String,
}Expand description
Plugin source resolved relative to the session’s authoritative working directory.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§source: StringPlugin install spec. Accepts the same forms as the CLI: “plugin@marketplace” (marketplace install), “owner/repo” or “owner/repo:subpath” (GitHub direct), an http/https/ssh URL, or a local path. Direct (non-marketplace) installs are deprecated and will produce a deprecationWarning in the result.
Trait Implementations§
Source§impl Clone for SessionPluginsInstallRequest
impl Clone for SessionPluginsInstallRequest
Source§impl Debug for SessionPluginsInstallRequest
impl Debug for SessionPluginsInstallRequest
Source§impl<'de> Deserialize<'de> for SessionPluginsInstallRequest
impl<'de> Deserialize<'de> for SessionPluginsInstallRequest
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
Auto Trait Implementations§
impl Freeze for SessionPluginsInstallRequest
impl RefUnwindSafe for SessionPluginsInstallRequest
impl Send for SessionPluginsInstallRequest
impl Sync for SessionPluginsInstallRequest
impl Unpin for SessionPluginsInstallRequest
impl UnsafeUnpin for SessionPluginsInstallRequest
impl UnwindSafe for SessionPluginsInstallRequest
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