pub struct CheckpointSyncStatus {
pub failure: Option<CheckpointSyncFailure>,
pub periodic: Option<Uuid>,
pub success: Option<Uuid>,
}Expand description
Checkpoint status returned by the /checkpoint/sync_status endpoint.
JSON schema
{
"description": "Checkpoint status returned by the `/checkpoint/sync_status` endpoint.",
"type": "object",
"properties": {
"failure": {
"allOf": [
{
"$ref": "#/components/schemas/CheckpointSyncFailure"
}
]
},
"periodic": {
"description": "Most recently successful automated periodic checkpoint sync.",
"type": [
"string",
"null"
],
"format": "uuid"
},
"success": {
"description": "Most recently successful checkpoint sync.",
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}Fields§
§failure: Option<CheckpointSyncFailure>§periodic: Option<Uuid>Most recently successful automated periodic checkpoint sync.
success: Option<Uuid>Most recently successful checkpoint sync.
Implementations§
Source§impl CheckpointSyncStatus
impl CheckpointSyncStatus
pub fn builder() -> CheckpointSyncStatus
Trait Implementations§
Source§impl Clone for CheckpointSyncStatus
impl Clone for CheckpointSyncStatus
Source§fn clone(&self) -> CheckpointSyncStatus
fn clone(&self) -> CheckpointSyncStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckpointSyncStatus
impl Debug for CheckpointSyncStatus
Source§impl<'de> Deserialize<'de> for CheckpointSyncStatus
impl<'de> Deserialize<'de> for CheckpointSyncStatus
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<&CheckpointSyncStatus> for CheckpointSyncStatus
impl From<&CheckpointSyncStatus> for CheckpointSyncStatus
Source§fn from(value: &CheckpointSyncStatus) -> Self
fn from(value: &CheckpointSyncStatus) -> Self
Converts to this type from the input type.
Source§impl From<CheckpointSyncStatus> for CheckpointSyncStatus
impl From<CheckpointSyncStatus> for CheckpointSyncStatus
Source§fn from(value: CheckpointSyncStatus) -> Self
fn from(value: CheckpointSyncStatus) -> Self
Converts to this type from the input type.
Source§impl Serialize for CheckpointSyncStatus
impl Serialize for CheckpointSyncStatus
Source§impl TryFrom<CheckpointSyncStatus> for CheckpointSyncStatus
impl TryFrom<CheckpointSyncStatus> for CheckpointSyncStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CheckpointSyncStatus) -> Result<Self, ConversionError>
fn try_from(value: CheckpointSyncStatus) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CheckpointSyncStatus
impl RefUnwindSafe for CheckpointSyncStatus
impl Send for CheckpointSyncStatus
impl Sync for CheckpointSyncStatus
impl Unpin for CheckpointSyncStatus
impl UnsafeUnpin for CheckpointSyncStatus
impl UnwindSafe for CheckpointSyncStatus
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