Enum db_dump::badges::BadgeType[][src]

#[non_exhaustive]
pub enum BadgeType {
Show variants Appveyor { repository: String, project_name: Option<String>, branch: Option<String>, service: Option<String>, id: Option<String>, }, AzureDevops { project: String, pipeline: String, build: Option<String>, }, BitbucketPipelines { repository: String, branch: String, }, CircleCi { repository: String, branch: Option<String>, }, CirrusCi { repository: String, branch: Option<String>, }, Codecov { repository: String, branch: Option<String>, service: Option<String>, }, Coveralls { repository: String, branch: Option<String>, service: Option<String>, }, Gitlab { repository: String, branch: Option<String>, tag: Option<String>, }, IsItMaintainedIssueResolution { repository: String, service: Option<String>, }, IsItMaintainedOpenIssues { repository: String, service: Option<String>, }, Maintenance { status: MaintenanceStatus, }, TravisCi { repository: String, branch: Option<String>, service: Option<String>, master: Option<String>, tld: Option<String>, }, Other { badge_type: String, attributes: Map<String, String>, },
}

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Appveyor
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of Appveyor

repository: Stringproject_name: Option<String>branch: Option<String>service: Option<String>id: Option<String>
AzureDevops
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of AzureDevops

project: Stringpipeline: Stringbuild: Option<String>
BitbucketPipelines
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of BitbucketPipelines

repository: Stringbranch: String
CircleCi
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of CircleCi

repository: Stringbranch: Option<String>
CirrusCi
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of CirrusCi

repository: Stringbranch: Option<String>
Codecov
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of Codecov

repository: Stringbranch: Option<String>service: Option<String>
Coveralls
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of Coveralls

repository: Stringbranch: Option<String>service: Option<String>
Gitlab
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of Gitlab

repository: Stringbranch: Option<String>tag: Option<String>
IsItMaintainedIssueResolution
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of IsItMaintainedIssueResolution

repository: Stringservice: Option<String>
IsItMaintainedOpenIssues
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of IsItMaintainedOpenIssues

repository: Stringservice: Option<String>
Maintenance
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of Maintenance

status: MaintenanceStatus
TravisCi
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Show fields

Fields of TravisCi

repository: Stringbranch: Option<String>service: Option<String>master: Option<String>tld: Option<String>
Other
Show fields

Fields of Other

badge_type: Stringattributes: Map<String, String>

Trait Implementations

impl Debug for BadgeType[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.