pub struct HandoffStatement {
pub type_: String,
pub timestamp: String,
pub from: String,
pub to: String,
pub artifacts: Vec<String>,
pub approval_ids: Vec<String>,
pub obligations: Vec<String>,
pub delegatable: bool,
pub task_ref: Option<String>,
pub policy_ref: Option<String>,
pub meta: Option<Value>,
}Expand description
Records that work moved from one actor/domain to another.
This is the core of Treeship’s multi-agent trust story. A handoff artifact proves custody transfer and carries inherited approvals.
Fields§
§type_: String§timestamp: String§from: StringSource actor URI
to: StringDestination actor URI
artifacts: Vec<String>IDs of artifacts being transferred
approval_ids: Vec<String>Approval artifact IDs the receiving actor inherits
obligations: Vec<String>Constraints the receiving actor must satisfy
delegatable: bool§task_ref: Option<String>§policy_ref: Option<String>§meta: Option<Value>Implementations§
Trait Implementations§
Source§impl Clone for HandoffStatement
impl Clone for HandoffStatement
Source§fn clone(&self) -> HandoffStatement
fn clone(&self) -> HandoffStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandoffStatement
impl Debug for HandoffStatement
Source§impl<'de> Deserialize<'de> for HandoffStatement
impl<'de> Deserialize<'de> for HandoffStatement
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
Auto Trait Implementations§
impl Freeze for HandoffStatement
impl RefUnwindSafe for HandoffStatement
impl Send for HandoffStatement
impl Sync for HandoffStatement
impl Unpin for HandoffStatement
impl UnsafeUnpin for HandoffStatement
impl UnwindSafe for HandoffStatement
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