pub struct RunRecord {Show 13 fields
pub ref: Option<RecordRef>,
pub version: Vec<u8>,
pub thread: Option<ThreadRef>,
pub checkout: Option<CheckoutRef>,
pub principal_id: String,
pub agent_id: String,
pub harness: String,
pub model: String,
pub state: i32,
pub actions: Vec<ActionAvailability>,
pub supported_controls: Vec<i32>,
pub pending_permissions: Vec<RunPermission>,
pub artifacts: Vec<RunArtifact>,
}Fields§
§ref: Option<RecordRef>Hosted ObserveThread reconstructs this output from the validated v1 upload projection. The server supplies ref/thread/version and verified principal/agent attribution; checkout, model, actions, controls, permissions and artifacts are absent in hosted timeline frames.
version: Vec<u8>§thread: Option<ThreadRef>§checkout: Option<CheckoutRef>§principal_id: String§agent_id: String§harness: String§model: String§state: i32§actions: Vec<ActionAvailability>§supported_controls: Vec<i32>Exact controls consumed by this run’s harness. Advertising ControlRun in actions does not imply support for every control variant.
pending_permissions: Vec<RunPermission>Pending exact harness intents. Decisions compare request_digest; observing a prompt never grants permission and timeout/disconnection never implies allow.
artifacts: Vec<RunArtifact>Explicitly retained artifacts currently readable under this Run’s policy. Raw material remains device-local unless separately published by consent.
Implementations§
Source§impl RunRecord
impl RunRecord
Sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state, or the default if the field is set to an invalid enum value.
Sourcepub fn supported_controls(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<Action>> ⓘ
pub fn supported_controls( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<Action>> ⓘ
Returns an iterator which yields the valid enum values contained in supported_controls.
Sourcepub fn push_supported_controls(&mut self, value: Action)
pub fn push_supported_controls(&mut self, value: Action)
Appends the provided enum value to supported_controls.
Trait Implementations§
Source§impl Message for RunRecord
impl Message for RunRecord
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.impl StructuralPartialEq for RunRecord
Auto Trait Implementations§
impl Freeze for RunRecord
impl RefUnwindSafe for RunRecord
impl Send for RunRecord
impl Sync for RunRecord
impl Unpin for RunRecord
impl UnsafeUnpin for RunRecord
impl UnwindSafe for RunRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more