pub struct CheckpointConfig {
pub thread_id: Option<String>,
pub checkpoint_ns: Option<String>,
pub checkpoint_id: Option<String>,
pub checkpoint_map: Option<Value>,
}Expand description
CheckpointConfig : Checkpoint config.
Fields§
§thread_id: Option<String>Unique identifier for the thread associated with this checkpoint.
checkpoint_ns: Option<String>Namespace for the checkpoint, used for organization and retrieval.
checkpoint_id: Option<String>Optional unique identifier for the checkpoint itself.
checkpoint_map: Option<Value>Optional dictionary containing checkpoint-specific data.
Implementations§
Source§impl CheckpointConfig
impl CheckpointConfig
Sourcepub fn new() -> CheckpointConfig
pub fn new() -> CheckpointConfig
Checkpoint config.
Trait Implementations§
Source§impl Clone for CheckpointConfig
impl Clone for CheckpointConfig
Source§fn clone(&self) -> CheckpointConfig
fn clone(&self) -> CheckpointConfig
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 CheckpointConfig
impl Debug for CheckpointConfig
Source§impl Default for CheckpointConfig
impl Default for CheckpointConfig
Source§fn default() -> CheckpointConfig
fn default() -> CheckpointConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckpointConfig
impl<'de> Deserialize<'de> for CheckpointConfig
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 PartialEq for CheckpointConfig
impl PartialEq for CheckpointConfig
Source§impl Serialize for CheckpointConfig
impl Serialize for CheckpointConfig
impl StructuralPartialEq for CheckpointConfig
Auto Trait Implementations§
impl Freeze for CheckpointConfig
impl RefUnwindSafe for CheckpointConfig
impl Send for CheckpointConfig
impl Sync for CheckpointConfig
impl Unpin for CheckpointConfig
impl UnwindSafe for CheckpointConfig
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