[][src]Struct crosis::protocol::Package

pub struct Package {
    pub name: String,
    pub spec: String,
    pub description: String,
    pub version: String,
    pub homepage_url: String,
    pub documentation_url: String,
    pub source_code_url: String,
    pub bug_tracker_url: String,
    pub author: String,
    pub license: String,
    pub dependencies: Vec<Package>,
}

Fields

name: String

Used always.

spec: String

Used only for add and remove.

description: String

Used only for search and info.

version: Stringhomepage_url: Stringdocumentation_url: Stringsource_code_url: Stringbug_tracker_url: Stringauthor: Stringlicense: Stringdependencies: Vec<Package>

Trait Implementations

impl Clone for Package[src]

impl Debug for Package[src]

impl Default for Package[src]

impl Message for Package[src]

impl PartialEq<Package> for Package[src]

impl StructuralPartialEq for Package[src]

Auto Trait Implementations

impl RefUnwindSafe for Package

impl Send for Package

impl Sync for Package

impl Unpin for Package

impl UnwindSafe for Package

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.