pub struct InputEndpointMetrics {
pub buffered_bytes: i64,
pub buffered_records: i64,
pub end_of_input: bool,
pub num_parse_errors: i64,
pub num_transport_errors: i64,
pub total_bytes: i64,
pub total_records: i64,
}Expand description
Performance metrics for an input endpoint.
JSON schema
{
"description": "Performance metrics for an input endpoint.",
"type": "object",
"required": [
"buffered_bytes",
"buffered_records",
"end_of_input",
"num_parse_errors",
"num_transport_errors",
"total_bytes",
"total_records"
],
"properties": {
"buffered_bytes": {
"description": "Number of bytes currently buffered by the endpoint (not yet consumed by the circuit).",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"buffered_records": {
"description": "Number of records currently buffered by the endpoint (not yet consumed by the circuit).",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"end_of_input": {
"description": "True if end-of-input has been signaled.",
"type": "boolean"
},
"num_parse_errors": {
"description": "Number of parse errors.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"num_transport_errors": {
"description": "Number of transport errors.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"total_bytes": {
"description": "Total bytes pushed to the endpoint since it was created.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"total_records": {
"description": "Total records pushed to the endpoint since it was created.",
"type": "integer",
"format": "int64",
"minimum": 0.0
}
}
}Fields§
§buffered_bytes: i64Number of bytes currently buffered by the endpoint (not yet consumed by the circuit).
buffered_records: i64Number of records currently buffered by the endpoint (not yet consumed by the circuit).
end_of_input: boolTrue if end-of-input has been signaled.
num_parse_errors: i64Number of parse errors.
num_transport_errors: i64Number of transport errors.
total_bytes: i64Total bytes pushed to the endpoint since it was created.
total_records: i64Total records pushed to the endpoint since it was created.
Implementations§
Source§impl InputEndpointMetrics
impl InputEndpointMetrics
pub fn builder() -> InputEndpointMetrics
Trait Implementations§
Source§impl Clone for InputEndpointMetrics
impl Clone for InputEndpointMetrics
Source§fn clone(&self) -> InputEndpointMetrics
fn clone(&self) -> InputEndpointMetrics
Returns a duplicate of the value. Read more
1.0.0 · 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 InputEndpointMetrics
impl Debug for InputEndpointMetrics
Source§impl<'de> Deserialize<'de> for InputEndpointMetrics
impl<'de> Deserialize<'de> for InputEndpointMetrics
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 From<&InputEndpointMetrics> for InputEndpointMetrics
impl From<&InputEndpointMetrics> for InputEndpointMetrics
Source§fn from(value: &InputEndpointMetrics) -> Self
fn from(value: &InputEndpointMetrics) -> Self
Converts to this type from the input type.
Source§impl From<InputEndpointMetrics> for InputEndpointMetrics
impl From<InputEndpointMetrics> for InputEndpointMetrics
Source§fn from(value: InputEndpointMetrics) -> Self
fn from(value: InputEndpointMetrics) -> Self
Converts to this type from the input type.
Source§impl Serialize for InputEndpointMetrics
impl Serialize for InputEndpointMetrics
Source§impl TryFrom<InputEndpointMetrics> for InputEndpointMetrics
impl TryFrom<InputEndpointMetrics> for InputEndpointMetrics
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: InputEndpointMetrics) -> Result<Self, ConversionError>
fn try_from(value: InputEndpointMetrics) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for InputEndpointMetrics
impl RefUnwindSafe for InputEndpointMetrics
impl Send for InputEndpointMetrics
impl Sync for InputEndpointMetrics
impl Unpin for InputEndpointMetrics
impl UnwindSafe for InputEndpointMetrics
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