pub struct OutputEndpointStatus {
pub config: ShortEndpointConfig,
pub endpoint_name: String,
pub fatal_error: Option<String>,
pub metrics: OutputEndpointMetrics,
}Expand description
Output endpoint status information.
JSON schema
{
"description": "Output endpoint status information.",
"type": "object",
"required": [
"config",
"endpoint_name",
"metrics"
],
"properties": {
"config": {
"$ref": "#/components/schemas/ShortEndpointConfig"
},
"endpoint_name": {
"description": "Endpoint name.",
"type": "string"
},
"fatal_error": {
"description": "The first fatal error that occurred at the endpoint.",
"type": [
"string",
"null"
]
},
"metrics": {
"$ref": "#/components/schemas/OutputEndpointMetrics"
}
}
}Fields§
§config: ShortEndpointConfig§endpoint_name: StringEndpoint name.
fatal_error: Option<String>The first fatal error that occurred at the endpoint.
metrics: OutputEndpointMetricsImplementations§
Source§impl OutputEndpointStatus
impl OutputEndpointStatus
pub fn builder() -> OutputEndpointStatus
Trait Implementations§
Source§impl Clone for OutputEndpointStatus
impl Clone for OutputEndpointStatus
Source§fn clone(&self) -> OutputEndpointStatus
fn clone(&self) -> OutputEndpointStatus
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 OutputEndpointStatus
impl Debug for OutputEndpointStatus
Source§impl<'de> Deserialize<'de> for OutputEndpointStatus
impl<'de> Deserialize<'de> for OutputEndpointStatus
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<&OutputEndpointStatus> for OutputEndpointStatus
impl From<&OutputEndpointStatus> for OutputEndpointStatus
Source§fn from(value: &OutputEndpointStatus) -> Self
fn from(value: &OutputEndpointStatus) -> Self
Converts to this type from the input type.
Source§impl From<OutputEndpointStatus> for OutputEndpointStatus
impl From<OutputEndpointStatus> for OutputEndpointStatus
Source§fn from(value: OutputEndpointStatus) -> Self
fn from(value: OutputEndpointStatus) -> Self
Converts to this type from the input type.
Source§impl Serialize for OutputEndpointStatus
impl Serialize for OutputEndpointStatus
Source§impl TryFrom<OutputEndpointStatus> for OutputEndpointStatus
impl TryFrom<OutputEndpointStatus> for OutputEndpointStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OutputEndpointStatus) -> Result<Self, ConversionError>
fn try_from(value: OutputEndpointStatus) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OutputEndpointStatus
impl RefUnwindSafe for OutputEndpointStatus
impl Send for OutputEndpointStatus
impl Sync for OutputEndpointStatus
impl Unpin for OutputEndpointStatus
impl UnwindSafe for OutputEndpointStatus
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