pub struct DiscoveredExtensions {
pub extensions: Vec<DiscoveredExtension>,
pub mode: DiscoveredExtensionMode,
}Expand description
Extensions discovered from persisted Copilot home state and their effective loading mode. Launch-scoped additional plugins are not included.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§extensions: Vec<DiscoveredExtension>Discovered user and enabled installed-plugin extensions from persisted Copilot home state
mode: DiscoveredExtensionModeEffective extension loading mode. Defaults to load_and_augment when unset.
Trait Implementations§
Source§impl Clone for DiscoveredExtensions
impl Clone for DiscoveredExtensions
Source§fn clone(&self) -> DiscoveredExtensions
fn clone(&self) -> DiscoveredExtensions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiscoveredExtensions
impl Debug for DiscoveredExtensions
Source§impl Default for DiscoveredExtensions
impl Default for DiscoveredExtensions
Source§fn default() -> DiscoveredExtensions
fn default() -> DiscoveredExtensions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DiscoveredExtensions
impl<'de> Deserialize<'de> for DiscoveredExtensions
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 DiscoveredExtensions
impl RefUnwindSafe for DiscoveredExtensions
impl Send for DiscoveredExtensions
impl Sync for DiscoveredExtensions
impl Unpin for DiscoveredExtensions
impl UnsafeUnpin for DiscoveredExtensions
impl UnwindSafe for DiscoveredExtensions
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