pub enum StartFromCheckpoint {
Latest,
Uuid(Uuid),
}
Expand description
StartFromCheckpoint
JSON schema
{
"oneOf": [
{
"type": "string",
"enum": [
"Latest"
]
},
{
"type": "object",
"required": [
"Uuid"
],
"properties": {
"Uuid": {
"type": "string",
"format": "uuid"
}
}
}
]
}
Variants§
Trait Implementations§
Source§impl Clone for StartFromCheckpoint
impl Clone for StartFromCheckpoint
Source§fn clone(&self) -> StartFromCheckpoint
fn clone(&self) -> StartFromCheckpoint
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 StartFromCheckpoint
impl Debug for StartFromCheckpoint
Source§impl<'de> Deserialize<'de> for StartFromCheckpoint
impl<'de> Deserialize<'de> for StartFromCheckpoint
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<&StartFromCheckpoint> for StartFromCheckpoint
impl From<&StartFromCheckpoint> for StartFromCheckpoint
Source§fn from(value: &StartFromCheckpoint) -> Self
fn from(value: &StartFromCheckpoint) -> Self
Converts to this type from the input type.
Source§impl From<Uuid> for StartFromCheckpoint
impl From<Uuid> for StartFromCheckpoint
Auto Trait Implementations§
impl Freeze for StartFromCheckpoint
impl RefUnwindSafe for StartFromCheckpoint
impl Send for StartFromCheckpoint
impl Sync for StartFromCheckpoint
impl Unpin for StartFromCheckpoint
impl UnwindSafe for StartFromCheckpoint
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