pub struct MetricsCloudV1 {
pub knowledge_hits_referenced: u64,
pub task_usage: Vec<MetricsTaskUsageV1>,
pub first_context_ms_p50: Option<u64>,
pub first_context_sessions: u64,
}Expand description
1.9 (X4): one vault day of Cloud use.
Fields§
§knowledge_hits_referenced: u64Cloud facts delivered in a session and then used in it (M1).
task_usage: Vec<MetricsTaskUsageV1>Ledger usage while a session held a task claim, per task (M2);
sorted by number, at most one row per task.
first_context_ms_p50: Option<u64>Median time from session start to the first Cloud context delivered,
over first_context_sessions sessions (M5); absent with none.
first_context_sessions: u64Implementations§
Source§impl MetricsCloudV1
impl MetricsCloudV1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for MetricsCloudV1
impl Clone for MetricsCloudV1
Source§impl Debug for MetricsCloudV1
impl Debug for MetricsCloudV1
Source§impl Default for MetricsCloudV1
impl Default for MetricsCloudV1
Source§impl<'de> Deserialize<'de> for MetricsCloudV1
impl<'de> Deserialize<'de> for MetricsCloudV1
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 MetricsCloudV1
Source§impl PartialEq for MetricsCloudV1
impl PartialEq for MetricsCloudV1
Source§impl Serialize for MetricsCloudV1
impl Serialize for MetricsCloudV1
impl StructuralPartialEq for MetricsCloudV1
Auto Trait Implementations§
impl Forget for MetricsCloudV1
impl Freeze for MetricsCloudV1
impl Move for MetricsCloudV1
impl RefUnwindSafe for MetricsCloudV1
impl Send for MetricsCloudV1where
RawVecInner: Send,
impl Sync for MetricsCloudV1where
RawVecInner: Sync,
impl Unpin for MetricsCloudV1
impl UnsafeUnpin for MetricsCloudV1
impl UnwindSafe for MetricsCloudV1where
RawVecInner: UnwindSafe,
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