pub struct Binint16 {
pub count: u64,
pub range: BinRangeint16,
}Expand description
Type storing bin edges and a count of samples within it.
JSON schema
{
"description": "Type storing bin edges and a count of samples within
it.",
"type": "object",
"required": [
"count",
"range"
],
"properties": {
"count": {
"description": "The total count of samples in this bin.",
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"range": {
"description": "The range of the support covered by this bin.",
"allOf": [
{
"$ref": "#/components/schemas/BinRangeint16"
}
]
}
}
}Fields§
§count: u64The total count of samples in this bin.
range: BinRangeint16The range of the support covered by this bin.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Binint16
impl<'de> Deserialize<'de> for Binint16
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
Source§impl JsonSchema for Binint16
impl JsonSchema for Binint16
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for Binint16
impl RefUnwindSafe for Binint16
impl Send for Binint16
impl Sync for Binint16
impl Unpin for Binint16
impl UnsafeUnpin for Binint16
impl UnwindSafe for Binint16
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