pub struct Node {
pub name: String,
pub declared: SourceId,
pub id: SourceId,
pub fetch_url: Option<String>,
pub resolved: Ref,
pub rooted: Rooted,
pub plugin: Option<PluginRoot>,
pub prepared: Arc<Prepared>,
pub normalized: BTreeMap<String, Vec<SchemaDiagnostic>>,
}Fields§
§name: String§declared: SourceId§id: SourceId§fetch_url: Option<String>The URL the source was fetched with, as the entry spelled it; None for a path.
resolved: Ref§rooted: RootedWhere the package’s files are: the marketplace’s own checkout for a local plugin, the plugin’s repository for a remote one.
plugin: Option<PluginRoot>§prepared: Arc<Prepared>§normalized: BTreeMap<String, Vec<SchemaDiagnostic>>What normalizing the tree reported before the package was split out, by file.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Node
impl Freeze for Nodewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const ArcInner<Prepared> is !null: Freeze,
PhantomData<ArcInner<Prepared>>: Freeze,
*const LeafNode<String, Vec<SchemaDiagnostic>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Vec<SchemaDiagnostic>)>>: Freeze,
impl Move for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Nodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const ArcInner<Prepared> is !null: UnsafeUnpin,
PhantomData<ArcInner<Prepared>>: UnsafeUnpin,
*const LeafNode<String, Vec<SchemaDiagnostic>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Vec<SchemaDiagnostic>)>>: UnsafeUnpin,
impl UnwindSafe for Nodewhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
Arc<Prepared>: UnwindSafe,
BTreeMap<String, Vec<SchemaDiagnostic>>: UnwindSafe,
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