pub struct TextCounts {
pub generated: u64,
pub repaired: u64,
pub backstop: u64,
pub absent: u64,
pub reasons: BTreeMap<TextReason, u64>,
}Fields§
§generated: u64§repaired: u64§backstop: u64§absent: u64§reasons: BTreeMap<TextReason, u64>Trait Implementations§
Source§impl Clone for TextCounts
impl Clone for TextCounts
Source§impl Debug for TextCounts
impl Debug for TextCounts
Source§impl Default for TextCounts
impl Default for TextCounts
Source§impl<'de> Deserialize<'de> for TextCounts
impl<'de> Deserialize<'de> for TextCounts
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
impl Eq for TextCounts
Source§impl JsonSchema for TextCounts
impl JsonSchema for TextCounts
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TextCounts
impl PartialEq for TextCounts
Source§impl Serialize for TextCounts
impl Serialize for TextCounts
impl StructuralPartialEq for TextCounts
Auto Trait Implementations§
impl Freeze for TextCounts
impl RefUnwindSafe for TextCounts
impl Send for TextCounts
impl Sync for TextCounts
impl Unpin for TextCounts
impl UnsafeUnpin for TextCounts
impl UnwindSafe for TextCounts
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