pub struct SessionInstalledPluginSourceGitHub {
pub path: Option<String>,
pub ref: Option<String>,
pub repo: String,
pub sha: Option<String>,
pub source: SessionInstalledPluginSourceGitHubSource,
}Expand description
Source descriptor for a direct GitHub plugin install, with owner/repo, 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 repository-relative path to the plugin.
ref: Option<String>Optional Git ref to resolve.
repo: StringGitHub repository in owner/repo form.
sha: Option<String>Optional full 40-character hexadecimal commit SHA.
source: SessionInstalledPluginSourceGitHubSourceConstant value. Always “github”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionInstalledPluginSourceGitHub
impl<'de> Deserialize<'de> for SessionInstalledPluginSourceGitHub
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 SessionInstalledPluginSourceGitHub
impl RefUnwindSafe for SessionInstalledPluginSourceGitHub
impl Send for SessionInstalledPluginSourceGitHub
impl Sync for SessionInstalledPluginSourceGitHub
impl Unpin for SessionInstalledPluginSourceGitHub
impl UnsafeUnpin for SessionInstalledPluginSourceGitHub
impl UnwindSafe for SessionInstalledPluginSourceGitHub
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