pub struct InspectedPlugin {
pub entry: MarketplaceEntry,
pub at_marketplace_root: bool,
pub items: Option<Vec<InspectedItem>>,
pub refused: Option<String>,
pub diagnostics: BTreeMap<String, Vec<SchemaDiagnostic>>,
}Fields§
§entry: MarketplaceEntry§at_marketplace_root: bool§items: Option<Vec<InspectedItem>>The items of a plugin in the marketplace’s own tree. A remote plugin has none until the caller fetches it and inspects the tree.
refused: Option<String>Why the plugin cannot be imported at all.
diagnostics: BTreeMap<String, Vec<SchemaDiagnostic>>Trait Implementations§
Source§impl Clone for InspectedPlugin
impl Clone for InspectedPlugin
Source§impl Debug for InspectedPlugin
impl Debug for InspectedPlugin
Auto Trait Implementations§
impl Forget for InspectedPlugin
impl Freeze for InspectedPluginwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<InspectedItem>: Freeze,
*const LeafNode<String, Vec<SchemaDiagnostic>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Vec<SchemaDiagnostic>)>>: Freeze,
impl Move for InspectedPlugin
impl RefUnwindSafe for InspectedPlugin
impl Send for InspectedPluginwhere
RawVecInner: Send,
NodeRef<Owned, String, Vec<SchemaDiagnostic>, LeafOrInternal>: Send,
BoxRaw<(String, Vec<SchemaDiagnostic>)>: Send,
impl Sync for InspectedPluginwhere
RawVecInner: Sync,
NodeRef<Owned, String, Vec<SchemaDiagnostic>, LeafOrInternal>: Sync,
BoxRaw<(String, Vec<SchemaDiagnostic>)>: Sync,
impl Unpin for InspectedPlugin
impl UnsafeUnpin for InspectedPluginwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<InspectedItem>: UnsafeUnpin,
*const LeafNode<String, Vec<SchemaDiagnostic>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Vec<SchemaDiagnostic>)>>: UnsafeUnpin,
impl UnwindSafe for InspectedPlugin
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