pub struct CheckpointStatus {
pub failure: Option<Vec<CheckpointStatusFailureItem>>,
pub success: Option<i64>,
}
Expand description
Checkpoint status returned by the /checkpoint_status
endpoint.
JSON schema
{
"description": "Checkpoint status returned by the `/checkpoint_status` endpoint.",
"type": "object",
"properties": {
"failure": {
"description": "Most recently failed checkpoint, and the associated error.",
"type": [
"array",
"null"
],
"items": {
"allOf": [
{
"type": "integer",
"format": "int64",
"minimum": 0.0
},
{
"type": "string"
}
]
}
},
"success": {
"description": "Most recently successful checkpoint.",
"type": [
"integer",
"null"
],
"format": "int64",
"minimum": 0.0
}
}
}
Fields§
§failure: Option<Vec<CheckpointStatusFailureItem>>
Most recently failed checkpoint, and the associated error.
success: Option<i64>
Most recently successful checkpoint.
Implementations§
Source§impl CheckpointStatus
impl CheckpointStatus
pub fn builder() -> CheckpointStatus
Trait Implementations§
Source§impl Clone for CheckpointStatus
impl Clone for CheckpointStatus
Source§fn clone(&self) -> CheckpointStatus
fn clone(&self) -> CheckpointStatus
Returns a copy 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 CheckpointStatus
impl Debug for CheckpointStatus
Source§impl<'de> Deserialize<'de> for CheckpointStatus
impl<'de> Deserialize<'de> for CheckpointStatus
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<&CheckpointStatus> for CheckpointStatus
impl From<&CheckpointStatus> for CheckpointStatus
Source§fn from(value: &CheckpointStatus) -> Self
fn from(value: &CheckpointStatus) -> Self
Converts to this type from the input type.
Source§impl From<CheckpointStatus> for CheckpointStatus
impl From<CheckpointStatus> for CheckpointStatus
Source§fn from(value: CheckpointStatus) -> Self
fn from(value: CheckpointStatus) -> Self
Converts to this type from the input type.
Source§impl Serialize for CheckpointStatus
impl Serialize for CheckpointStatus
Source§impl TryFrom<CheckpointStatus> for CheckpointStatus
impl TryFrom<CheckpointStatus> for CheckpointStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CheckpointStatus) -> Result<Self, ConversionError>
fn try_from(value: CheckpointStatus) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CheckpointStatus
impl RefUnwindSafe for CheckpointStatus
impl Send for CheckpointStatus
impl Sync for CheckpointStatus
impl Unpin for CheckpointStatus
impl UnwindSafe for CheckpointStatus
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