Struct guppy::graph::summaries::SummaryId[][src]

pub struct SummaryId {
    pub name: String,
    pub version: Version,
    pub source: SummarySource,
}

A unique identifier for a package in a build summary.

Fields

name: String

The name of the package.

version: Version

The version number of the package.

source: SummarySource

The source for this package.

Implementations

impl SummaryId[src]

pub fn new(
    name: impl Into<String>,
    version: Version,
    source: SummarySource
) -> SummaryId
[src]

Creates a new SummaryId.

Trait Implementations

impl Clone for SummaryId[src]

impl Debug for SummaryId[src]

impl<'de> Deserialize<'de> for SummaryId[src]

impl Eq for SummaryId[src]

impl Hash for SummaryId[src]

impl Ord for SummaryId[src]

impl PartialEq<SummaryId> for SummaryId[src]

impl PartialOrd<SummaryId> for SummaryId[src]

impl Serialize for SummaryId[src]

impl StructuralEq for SummaryId[src]

impl StructuralPartialEq for SummaryId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SafeBorrow<T> for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,