#[non_exhaustive]pub struct InlinePlugin {
pub name: Option<String>,
pub source: Option<Source>,
pub extra: Extra,
}Expand description
A plugin of an inline (settings) marketplace.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>§source: Option<Source>External source the plugin is fetched from. Inline plugins must reference external sources such as GitHub or npm, not relative paths.
- Values: a plugin source object:
github,url,git-subdirornpm - Default: unset
Docs: source.
extra: ExtraKeys Claude Code accepts here that this crate doesn’t model (newer or undocumented ones), kept as written so the document round-trips.
Trait Implementations§
Source§impl Clone for InlinePlugin
impl Clone for InlinePlugin
Source§impl Debug for InlinePlugin
impl Debug for InlinePlugin
Source§impl Default for InlinePlugin
impl Default for InlinePlugin
Source§impl<'de> Deserialize<'de> for InlinePlugin
impl<'de> Deserialize<'de> for InlinePlugin
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
Source§impl PartialEq for InlinePlugin
impl PartialEq for InlinePlugin
Source§impl Serialize for InlinePlugin
impl Serialize for InlinePlugin
impl StructuralPartialEq for InlinePlugin
Auto Trait Implementations§
impl Forget for InlinePlugin
impl Freeze for InlinePlugin
impl Move for InlinePlugin
impl RefUnwindSafe for InlinePlugin
impl Send for InlinePlugin
impl Sync for InlinePlugin
impl Unpin for InlinePlugin
impl UnsafeUnpin for InlinePlugin
impl UnwindSafe for InlinePlugin
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