#[non_exhaustive]
pub enum BadgeType {
Show 13 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

Fields

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.
§repository: String
§project_name: Option<String>
§branch: Option<String>
§service: Option<String>
§

AzureDevops

Fields

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.
§project: String
§pipeline: String
§build: Option<String>
§

BitbucketPipelines

Fields

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.
§repository: String
§branch: String
§

CircleCi

Fields

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.
§repository: String
§branch: Option<String>
§

CirrusCi

Fields

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.
§repository: String
§branch: Option<String>
§

Codecov

Fields

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.
§repository: String
§branch: Option<String>
§service: Option<String>
§

Coveralls

Fields

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.
§repository: String
§branch: Option<String>
§service: Option<String>
§

Gitlab

Fields

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.
§repository: String
§branch: Option<String>
§

IsItMaintainedIssueResolution

Fields

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.
§repository: String
§service: Option<String>
§

IsItMaintainedOpenIssues

Fields

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.
§repository: String
§service: Option<String>
§

Maintenance

Fields

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.
§

TravisCi

Fields

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.
§repository: String
§branch: Option<String>
§service: Option<String>
§master: Option<String>
§

Other

Fields

§badge_type: String
§attributes: Map<String, String>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.