pub struct RunSnapshot {
pub run_id: RunId,
pub state: RunState,
pub provider: String,
pub model: String,
pub provider_session_id: Option<String>,
pub latest_sequence: u64,
pub acknowledged_sequence: u64,
pub workspace_roots: Vec<String>,
pub metadata: BTreeMap<String, Value>,
}Fields§
§run_id: RunId§state: RunState§provider: String§model: String§provider_session_id: Option<String>§latest_sequence: u64§acknowledged_sequence: u64§workspace_roots: Vec<String>§metadata: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for RunSnapshot
impl Clone for RunSnapshot
Source§fn clone(&self) -> RunSnapshot
fn clone(&self) -> RunSnapshot
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 RunSnapshot
impl Debug for RunSnapshot
Source§impl<'de> Deserialize<'de> for RunSnapshot
impl<'de> Deserialize<'de> for RunSnapshot
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 RunSnapshot
impl PartialEq for RunSnapshot
Source§impl Serialize for RunSnapshot
impl Serialize for RunSnapshot
impl StructuralPartialEq for RunSnapshot
Auto Trait Implementations§
impl Freeze for RunSnapshot
impl RefUnwindSafe for RunSnapshot
impl Send for RunSnapshot
impl Sync for RunSnapshot
impl Unpin for RunSnapshot
impl UnsafeUnpin for RunSnapshot
impl UnwindSafe for RunSnapshot
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