[][src]Struct crev_data::proof::review::package::Draft

pub struct Draft {
    pub advisories: Vec<Advisory>,
    pub issues: Vec<Issue>,
    pub flags: FlagsDraft,
    pub alternatives: HashSet<PackageId>,
    // some fields omitted
}

Like Package but serializes for interactive editing

Fields

advisories: Vec<Advisory>issues: Vec<Issue>flags: FlagsDraftalternatives: HashSet<PackageId>

Methods

impl Draft[src]

pub fn parse(s: &str) -> Result<Self>[src]

Trait Implementations

impl Clone for Draft[src]

impl Debug for Draft[src]

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

impl Display for Draft[src]

impl From<Package> for Draft[src]

impl Serialize for Draft[src]

Auto Trait Implementations

impl RefUnwindSafe for Draft

impl Send for Draft

impl Sync for Draft

impl Unpin for Draft

impl UnwindSafe for Draft

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<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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>,