pub struct RuntimeSessionSnapshot {
pub contract_version: String,
pub snapshot_metadata_version: String,
pub captured_at: DateTime<Utc>,
pub services: Vec<ServiceSnapshot>,
}Expand description
Session-level runtime snapshot envelope for runner-facing consumers.
Fields§
§contract_version: String§snapshot_metadata_version: String§captured_at: DateTime<Utc>§services: Vec<ServiceSnapshot>Implementations§
Source§impl RuntimeSessionSnapshot
impl RuntimeSessionSnapshot
Sourcepub fn new(services: Vec<ServiceSnapshot>) -> Self
pub fn new(services: Vec<ServiceSnapshot>) -> Self
Builds a session snapshot envelope around normalized service snapshots.
Trait Implementations§
Source§impl Clone for RuntimeSessionSnapshot
impl Clone for RuntimeSessionSnapshot
Source§fn clone(&self) -> RuntimeSessionSnapshot
fn clone(&self) -> RuntimeSessionSnapshot
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 RuntimeSessionSnapshot
impl Debug for RuntimeSessionSnapshot
Source§impl<'de> Deserialize<'de> for RuntimeSessionSnapshot
impl<'de> Deserialize<'de> for RuntimeSessionSnapshot
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 RuntimeSessionSnapshot
impl RefUnwindSafe for RuntimeSessionSnapshot
impl Send for RuntimeSessionSnapshot
impl Sync for RuntimeSessionSnapshot
impl Unpin for RuntimeSessionSnapshot
impl UnsafeUnpin for RuntimeSessionSnapshot
impl UnwindSafe for RuntimeSessionSnapshot
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