Struct guppy::graph::summaries::FeaturesOnlySummary
source · #[non_exhaustive]pub struct FeaturesOnlySummary {
pub summary_id: SummaryId,
pub features: BTreeSet<String>,
pub optional_deps: BTreeSet<String>,
}
Available on crate feature
summaries
only.Expand description
Summary information for a features-only package.
These packages are stored in CargoOptionsSummary
because they may or may not be in the final
build set.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.summary_id: SummaryId
The summary ID for this feature.
features: BTreeSet<String>
The named features built for this package.
optional_deps: BTreeSet<String>
The optional dependencies built for this package.
Trait Implementations§
source§impl Clone for FeaturesOnlySummary
impl Clone for FeaturesOnlySummary
source§fn clone(&self) -> FeaturesOnlySummary
fn clone(&self) -> FeaturesOnlySummary
Returns a copy of the value. Read more
1.0.0 · 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 FeaturesOnlySummary
impl Debug for FeaturesOnlySummary
source§impl<'de> Deserialize<'de> for FeaturesOnlySummary
impl<'de> Deserialize<'de> for FeaturesOnlySummary
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
source§impl Ord for FeaturesOnlySummary
impl Ord for FeaturesOnlySummary
source§fn cmp(&self, other: &FeaturesOnlySummary) -> Ordering
fn cmp(&self, other: &FeaturesOnlySummary) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FeaturesOnlySummary
impl PartialEq for FeaturesOnlySummary
source§fn eq(&self, other: &FeaturesOnlySummary) -> bool
fn eq(&self, other: &FeaturesOnlySummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FeaturesOnlySummary
impl PartialOrd for FeaturesOnlySummary
source§fn partial_cmp(&self, other: &FeaturesOnlySummary) -> Option<Ordering>
fn partial_cmp(&self, other: &FeaturesOnlySummary) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for FeaturesOnlySummary
impl Serialize for FeaturesOnlySummary
impl Eq for FeaturesOnlySummary
impl StructuralPartialEq for FeaturesOnlySummary
Auto Trait Implementations§
impl Freeze for FeaturesOnlySummary
impl RefUnwindSafe for FeaturesOnlySummary
impl Send for FeaturesOnlySummary
impl Sync for FeaturesOnlySummary
impl Unpin for FeaturesOnlySummary
impl UnwindSafe for FeaturesOnlySummary
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.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.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more