Struct cargo_toml::Badges
source · [−]pub struct Badges {
pub appveyor: Option<Badge>,
pub circle_ci: Option<Badge>,
pub gitlab: Option<Badge>,
pub travis_ci: Option<Badge>,
pub codecov: Option<Badge>,
pub coveralls: Option<Badge>,
pub is_it_maintained_issue_resolution: Option<Badge>,
pub is_it_maintained_open_issues: Option<Badge>,
pub maintenance: Maintenance,
}
Expand description
Deprecated
Fields
appveyor: Option<Badge>
Appveyor: repository
is required. branch
is optional; default is master
service
is optional; valid values are github
(default), bitbucket
, and
gitlab
; id
is optional; you can specify the appveyor project id if you
want to use that instead. project_name
is optional; use when the repository
name differs from the appveyor project name.
circle_ci: Option<Badge>
Circle CI: repository
is required. branch
is optional; default is master
gitlab: Option<Badge>
GitLab: repository
is required. branch
is optional; default is master
travis_ci: Option<Badge>
Travis CI: repository
in format “branch
is optional; default is master
codecov: Option<Badge>
Codecov: repository
is required. branch
is optional; default is master
service
is optional; valid values are github
(default), bitbucket
, and
gitlab
.
coveralls: Option<Badge>
Coveralls: repository
is required. branch
is optional; default is master
service
is optional; valid values are github
(default) and bitbucket
.
is_it_maintained_issue_resolution: Option<Badge>
Is it maintained resolution time: repository
is required.
is_it_maintained_open_issues: Option<Badge>
Is it maintained percentage of open issues: repository
is required.
maintenance: Maintenance
Maintenance: status
is required. Available options are actively-developed
,
passively-maintained
, as-is
, experimental
, looking-for-maintainer
,
deprecated
, and the default none
, which displays no badge on crates.io.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Badges
impl<'de> Deserialize<'de> for Badges
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Badges
Auto Trait Implementations
impl RefUnwindSafe for Badges
impl Send for Badges
impl Sync for Badges
impl Unpin for Badges
impl UnwindSafe for Badges
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more