pub struct InputEndpointStatus {
pub barrier: bool,
pub completed_frontier: Option<CompletedWatermark>,
pub config: ShortEndpointConfig,
pub endpoint_name: String,
pub fatal_error: Option<String>,
pub metrics: InputEndpointMetrics,
pub paused: bool,
}Expand description
Input endpoint status information.
JSON schema
{
"description": "Input endpoint status information.",
"type": "object",
"required": [
"barrier",
"config",
"endpoint_name",
"metrics",
"paused"
],
"properties": {
"barrier": {
"description": "Endpoint is currently a barrier to checkpointing and suspend.",
"type": "boolean"
},
"completed_frontier": {
"allOf": [
{
"$ref": "#/components/schemas/CompletedWatermark"
}
]
},
"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/InputEndpointMetrics"
},
"paused": {
"description": "Endpoint has been paused by the user.",
"type": "boolean"
}
}
}Fields§
§barrier: boolEndpoint is currently a barrier to checkpointing and suspend.
completed_frontier: Option<CompletedWatermark>§config: ShortEndpointConfig§endpoint_name: StringEndpoint name.
fatal_error: Option<String>The first fatal error that occurred at the endpoint.
metrics: InputEndpointMetrics§paused: boolEndpoint has been paused by the user.
Implementations§
Source§impl InputEndpointStatus
impl InputEndpointStatus
pub fn builder() -> InputEndpointStatus
Trait Implementations§
Source§impl Clone for InputEndpointStatus
impl Clone for InputEndpointStatus
Source§fn clone(&self) -> InputEndpointStatus
fn clone(&self) -> InputEndpointStatus
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 InputEndpointStatus
impl Debug for InputEndpointStatus
Source§impl<'de> Deserialize<'de> for InputEndpointStatus
impl<'de> Deserialize<'de> for InputEndpointStatus
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<&InputEndpointStatus> for InputEndpointStatus
impl From<&InputEndpointStatus> for InputEndpointStatus
Source§fn from(value: &InputEndpointStatus) -> Self
fn from(value: &InputEndpointStatus) -> Self
Converts to this type from the input type.
Source§impl From<InputEndpointStatus> for InputEndpointStatus
impl From<InputEndpointStatus> for InputEndpointStatus
Source§fn from(value: InputEndpointStatus) -> Self
fn from(value: InputEndpointStatus) -> Self
Converts to this type from the input type.
Source§impl Serialize for InputEndpointStatus
impl Serialize for InputEndpointStatus
Source§impl TryFrom<InputEndpointStatus> for InputEndpointStatus
impl TryFrom<InputEndpointStatus> for InputEndpointStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: InputEndpointStatus) -> Result<Self, ConversionError>
fn try_from(value: InputEndpointStatus) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for InputEndpointStatus
impl RefUnwindSafe for InputEndpointStatus
impl Send for InputEndpointStatus
impl Sync for InputEndpointStatus
impl Unpin for InputEndpointStatus
impl UnwindSafe for InputEndpointStatus
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