Enum cargo_registry::badge::Badge [] [src]

pub enum Badge {
    TravisCi {
        repository: String,
        branch: Option<String>,
    },
    Appveyor {
        repository: String,
        branch: Option<String>,
        service: Option<String>,
    },
    GitLab {
        repository: String,
        branch: Option<String>,
    },
}

Variants

Fields of TravisCi

Fields of Appveyor

Fields of GitLab

Methods

impl Badge
[src]

Trait Implementations

impl Debug for Badge
[src]

Formats the value using the given formatter.

impl PartialEq for Badge
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Badge
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Queryable<SqlType, Pg> for Badge
[src]

impl Model for Badge
[src]