pub struct SessionInstalledPluginSourceUrl {
pub path: Option<String>,
pub ref: Option<String>,
pub sha: Option<String>,
pub source: SessionInstalledPluginSourceUrlSource,
pub url: String,
}Expand description
Source descriptor for a direct URL plugin install, with URL, optional ref or full commit SHA, and optional subpath.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§path: Option<String>Optional source-relative path to the plugin.
ref: Option<String>Optional Git ref to resolve.
sha: Option<String>Optional full 40-character hexadecimal commit SHA.
source: SessionInstalledPluginSourceUrlSourceConstant value. Always “url”.
url: StringURL of the plugin source.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionInstalledPluginSourceUrl
impl<'de> Deserialize<'de> for SessionInstalledPluginSourceUrl
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 SessionInstalledPluginSourceUrl
impl RefUnwindSafe for SessionInstalledPluginSourceUrl
impl Send for SessionInstalledPluginSourceUrl
impl Sync for SessionInstalledPluginSourceUrl
impl Unpin for SessionInstalledPluginSourceUrl
impl UnsafeUnpin for SessionInstalledPluginSourceUrl
impl UnwindSafe for SessionInstalledPluginSourceUrl
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