pub struct HarnessRuntimeManagedSessionV1 {
pub record_id: String,
pub display_name: String,
pub display_name_truncated: bool,
pub provider: String,
pub mode: HarnessRuntimeManagedModeV1,
pub state: HarnessRuntimeManagedStateV1,
pub workspace_id: String,
pub active_binding: Option<HarnessRuntimeSessionBindingV1>,
pub provider_identity_present: bool,
pub updated_at_unix_ms: u64,
pub blocked_count: u64,
pub last_blocked_at_ms: Option<u64>,
}Fields§
§record_id: String§display_name: String§display_name_truncated: bool§provider: String§mode: HarnessRuntimeManagedModeV1§state: HarnessRuntimeManagedStateV1§workspace_id: String§active_binding: Option<HarnessRuntimeSessionBindingV1>§provider_identity_present: bool§updated_at_unix_ms: u64§blocked_count: u64Count of ObservationKindV1::ActionBlocked observations recorded
against this managed session, from the harness’s own per-session
observation projection – see
hatchery_observation_engine::SessionProjection::blocked_count.
The fleet-wide instrument this exists for: one runtime-inventory
read answers “how many sessions are stuck behind a gate right now”
across every node at once.
last_blocked_at_ms: Option<u64>received_at_ms of the most recent such observation, or None when
blocked_count is zero.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HarnessRuntimeManagedSessionV1
impl<'de> Deserialize<'de> for HarnessRuntimeManagedSessionV1
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
impl Eq for HarnessRuntimeManagedSessionV1
impl StructuralPartialEq for HarnessRuntimeManagedSessionV1
Auto Trait Implementations§
impl Freeze for HarnessRuntimeManagedSessionV1
impl RefUnwindSafe for HarnessRuntimeManagedSessionV1
impl Send for HarnessRuntimeManagedSessionV1
impl Sync for HarnessRuntimeManagedSessionV1
impl Unpin for HarnessRuntimeManagedSessionV1
impl UnsafeUnpin for HarnessRuntimeManagedSessionV1
impl UnwindSafe for HarnessRuntimeManagedSessionV1
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