#[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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
§
status: MaintenanceStatusTravisCi
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.
Other
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BadgeType
impl Send for BadgeType
impl Sync for BadgeType
impl Unpin for BadgeType
impl UnwindSafe for BadgeType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more