pub struct SelectionFacts {
pub definitions: Vec<Definition>,
pub edges: Vec<Request>,
pub uses_providers: Vec<String>,
}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>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 SelectionFacts
impl RefUnwindSafe for SelectionFacts
impl Send for SelectionFacts
impl Sync for SelectionFacts
impl Unpin for SelectionFacts
impl UnsafeUnpin for SelectionFacts
impl UnwindSafe for SelectionFacts
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.