pub struct HarnessSessionRecordPreviewedV1 {
pub record_id: String,
pub preview: HarnessNativeSessionPreviewV1,
}Expand description
PreviewSessionRecord’s reply: reuses HarnessNativeSessionPreviewV1
verbatim rather than defining a session-record-specific preview shape –
the node’s own SessionRecordPreview and NativeSessionPreview are the
same type (pub type NativeSessionPreview = SessionRecordPreview; in
gate4agent-node-protocol), so the wire mirrors that identity instead of
inventing a duplicate.
Fields§
§record_id: String§preview: HarnessNativeSessionPreviewV1Implementations§
Source§impl HarnessSessionRecordPreviewedV1
impl HarnessSessionRecordPreviewedV1
pub fn validate(&self) -> Result<(), HarnessOperatorApiError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HarnessSessionRecordPreviewedV1
impl<'de> Deserialize<'de> for HarnessSessionRecordPreviewedV1
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 HarnessSessionRecordPreviewedV1
impl StructuralPartialEq for HarnessSessionRecordPreviewedV1
Auto Trait Implementations§
impl Freeze for HarnessSessionRecordPreviewedV1
impl RefUnwindSafe for HarnessSessionRecordPreviewedV1
impl Send for HarnessSessionRecordPreviewedV1
impl Sync for HarnessSessionRecordPreviewedV1
impl Unpin for HarnessSessionRecordPreviewedV1
impl UnsafeUnpin for HarnessSessionRecordPreviewedV1
impl UnwindSafe for HarnessSessionRecordPreviewedV1
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