pub struct HarnessContextSourceSelectionV1 {Show 15 fields
pub source_run_id: HarnessRunId,
pub source_run_revision: HarnessRevision,
pub observed_at_unix_ms: u64,
pub metadata_digest: HarnessRequestDigest,
pub node_id: HarnessSelectorV1,
pub node_incarnation: HarnessSelectorV1,
pub workspace_id: HarnessSelectorV1,
pub session_record_id: HarnessSelectorV1,
pub active_session: Option<HarnessRuntimeIdentityV1>,
pub message_count: u64,
pub message_count_exact: bool,
pub completed_turn_count: Option<u64>,
pub total_tokens: Option<u64>,
pub availability: HarnessContextSourceAvailabilityV1,
pub context_pack: Option<HarnessResolvedContextPackReceiptV1>,
}Fields§
§source_run_id: HarnessRunId§source_run_revision: HarnessRevision§observed_at_unix_ms: u64§metadata_digest: HarnessRequestDigest§node_id: HarnessSelectorV1§node_incarnation: HarnessSelectorV1§workspace_id: HarnessSelectorV1§session_record_id: HarnessSelectorV1§active_session: Option<HarnessRuntimeIdentityV1>§message_count: u64§message_count_exact: bool§completed_turn_count: Option<u64>§total_tokens: Option<u64>§availability: HarnessContextSourceAvailabilityV1§context_pack: Option<HarnessResolvedContextPackReceiptV1>Implementations§
Source§impl HarnessContextSourceSelectionV1
impl HarnessContextSourceSelectionV1
pub fn validate(&self) -> Result<(), HarnessValidationError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HarnessContextSourceSelectionV1
impl<'de> Deserialize<'de> for HarnessContextSourceSelectionV1
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 HarnessContextSourceSelectionV1
impl StructuralPartialEq for HarnessContextSourceSelectionV1
Auto Trait Implementations§
impl Freeze for HarnessContextSourceSelectionV1
impl RefUnwindSafe for HarnessContextSourceSelectionV1
impl Send for HarnessContextSourceSelectionV1
impl Sync for HarnessContextSourceSelectionV1
impl Unpin for HarnessContextSourceSelectionV1
impl UnsafeUnpin for HarnessContextSourceSelectionV1
impl UnwindSafe for HarnessContextSourceSelectionV1
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