Struct cargo_toml2::BuildBadge
source · pub struct BuildBadge {
pub repository: String,
pub branch: Option<String>,
pub service: Option<String>,
pub id: Option<String>,
pub project_name: Option<String>,
}
Expand description
These are more or less common to all currently supported badges.
Fields
repository: String
branch: Option<String>
service: Option<String>
id: Option<String>
project_name: Option<String>
Trait Implementations
sourceimpl Debug for BuildBadge
impl Debug for BuildBadge
sourceimpl Default for BuildBadge
impl Default for BuildBadge
sourcefn default() -> BuildBadge
fn default() -> BuildBadge
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BuildBadge
impl<'de> Deserialize<'de> for BuildBadge
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
sourceimpl Serialize for BuildBadge
impl Serialize for BuildBadge
Auto Trait Implementations
impl RefUnwindSafe for BuildBadge
impl Send for BuildBadge
impl Sync for BuildBadge
impl Unpin for BuildBadge
impl UnwindSafe for BuildBadge
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more