pub struct BackgroundSubagentTerminalCommit {
pub record: BackgroundSubagentRecord,
pub artifact: Option<BackgroundSubagentArtifact>,
pub artifact_limits: Option<BackgroundSubagentArtifactLimits>,
}Expand description
Atomic terminal evidence and optional oversized-result artifact commit.
Fields§
§record: BackgroundSubagentRecordImmutable terminal execution and delivery record.
artifact: Option<BackgroundSubagentArtifact>Optional complete successful output externalized from the bounded preview.
artifact_limits: Option<BackgroundSubagentArtifactLimits>Required host quota policy whenever an artifact payload is supplied.
Implementations§
Source§impl BackgroundSubagentTerminalCommit
impl BackgroundSubagentTerminalCommit
Sourcepub fn canonical_fingerprint(&self) -> Result<String, Error>
pub fn canonical_fingerprint(&self) -> Result<String, Error>
Compute the canonical fingerprint persisted for exact terminal retries.
Logical delivery fields and their later projections are deliberately excluded. Initial retention evidence and the complete artifact payload remain covered even after content is expired from the live record.
§Errors
Returns a serialization error when the canonical evidence cannot be encoded.
Trait Implementations§
Source§impl Clone for BackgroundSubagentTerminalCommit
impl Clone for BackgroundSubagentTerminalCommit
Source§fn clone(&self) -> BackgroundSubagentTerminalCommit
fn clone(&self) -> BackgroundSubagentTerminalCommit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for BackgroundSubagentTerminalCommit
impl<'de> Deserialize<'de> for BackgroundSubagentTerminalCommit
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 BackgroundSubagentTerminalCommit
impl StructuralPartialEq for BackgroundSubagentTerminalCommit
Auto Trait Implementations§
impl Freeze for BackgroundSubagentTerminalCommit
impl RefUnwindSafe for BackgroundSubagentTerminalCommit
impl Send for BackgroundSubagentTerminalCommit
impl Sync for BackgroundSubagentTerminalCommit
impl Unpin for BackgroundSubagentTerminalCommit
impl UnsafeUnpin for BackgroundSubagentTerminalCommit
impl UnwindSafe for BackgroundSubagentTerminalCommit
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