pub struct StreamResumption {
pub run_id: String,
pub last_checkpoint_id: Option<String>,
pub last_step: Option<usize>,
}Expand description
Resumption state for streaming
Fields§
§run_id: String§last_checkpoint_id: Option<String>§last_step: Option<usize>Implementations§
Trait Implementations§
Source§impl Clone for StreamResumption
impl Clone for StreamResumption
Source§fn clone(&self) -> StreamResumption
fn clone(&self) -> StreamResumption
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 StreamResumption
impl Debug for StreamResumption
Source§impl<'de> Deserialize<'de> for StreamResumption
impl<'de> Deserialize<'de> for StreamResumption
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
Auto Trait Implementations§
impl Freeze for StreamResumption
impl RefUnwindSafe for StreamResumption
impl Send for StreamResumption
impl Sync for StreamResumption
impl Unpin for StreamResumption
impl UnsafeUnpin for StreamResumption
impl UnwindSafe for StreamResumption
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