pub struct StyleGuideScore {
pub name: String,
pub description: String,
pub score_pct: u8,
}Expand description
Adherence percentage for one named style guide.
Fields§
§name: String§description: StringKey characteristics used in scoring (shown as a tooltip).
score_pct: u8Computed adherence, 0-100.
Trait Implementations§
Source§impl Clone for StyleGuideScore
impl Clone for StyleGuideScore
Source§fn clone(&self) -> StyleGuideScore
fn clone(&self) -> StyleGuideScore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StyleGuideScore
impl Debug for StyleGuideScore
Source§impl<'de> Deserialize<'de> for StyleGuideScore
impl<'de> Deserialize<'de> for StyleGuideScore
Source§fn 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
Auto Trait Implementations§
impl Freeze for StyleGuideScore
impl RefUnwindSafe for StyleGuideScore
impl Send for StyleGuideScore
impl Sync for StyleGuideScore
impl Unpin for StyleGuideScore
impl UnsafeUnpin for StyleGuideScore
impl UnwindSafe for StyleGuideScore
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