pub struct SelectionFacts {
pub definitions: Vec<Definition>,
pub edges: Vec<Request>,
pub uses_providers: Vec<String>,
pub unreadable: bool,
}Expand description
What selection reads of a prepared package. prepare computes it (Prepared::selection), so
a caller on the other side of the JSON boundary passes prepare’s result and derives nothing.
Fields§
§definitions: Vec<Definition>§edges: Vec<Request>The package’s manifest entries, in declaration order: the [dependencies] table, never
[local-dependencies].
uses_providers: Vec<String>§unreadable: boolThe package could not be read (Invalid or SchemaNewer), so definitions is empty
because nothing was read, not because it ships nothing. A check does not judge skill
refs against it.
Trait Implementations§
Source§impl Clone for SelectionFacts
impl Clone for SelectionFacts
Source§impl Debug for SelectionFacts
impl Debug for SelectionFacts
Source§impl Default for SelectionFacts
impl Default for SelectionFacts
Source§impl<'de> Deserialize<'de> for SelectionFacts
impl<'de> Deserialize<'de> for SelectionFacts
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
impl Eq for SelectionFacts
Source§impl PartialEq for SelectionFacts
impl PartialEq for SelectionFacts
Source§impl Serialize for SelectionFacts
impl Serialize for SelectionFacts
impl StructuralPartialEq for SelectionFacts
Auto Trait Implementations§
impl Forget for SelectionFacts
impl Freeze for SelectionFactswhere
*const u8 is !null: Freeze,
PhantomData<Definition>: Freeze,
PhantomData<Request>: Freeze,
PhantomData<String>: Freeze,
impl Move for SelectionFacts
impl RefUnwindSafe for SelectionFacts
impl Send for SelectionFactswhere
RawVecInner: Send,
impl Sync for SelectionFactswhere
RawVecInner: Sync,
impl Unpin for SelectionFacts
impl UnsafeUnpin for SelectionFactswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Definition>: UnsafeUnpin,
PhantomData<Request>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SelectionFactswhere
RawVecInner: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.