pub struct BuildHandoff {
pub task_id: String,
pub from_actor: String,
pub to_actor: String,
pub condition: Option<String>,
pub handoff_at: String,
pub valid_until: Option<String>,
pub release: Option<Value>,
pub prev_handoff_id: Option<String>,
pub credential_id: String,
}Expand description
Parameters for build_handoff. The signer is the receiver (to_actor), the
party taking responsibility. condition, when set, attests the state of the
task or object as received, which lets a later state change be localized to
a hop. release is the releasing actor’s signed build_release
credential (a chain verifier requires it). prev_handoff_id is the previous
handoff’s id; credential_id is this handoff’s own id. valid_until,
when set, bounds the handoff’s active window.
Fields§
§task_id: String§from_actor: String§to_actor: String§condition: Option<String>§handoff_at: String§valid_until: Option<String>§release: Option<Value>§prev_handoff_id: Option<String>§credential_id: StringTrait Implementations§
Source§impl Clone for BuildHandoff
impl Clone for BuildHandoff
Auto Trait Implementations§
impl Forget for BuildHandoff
impl Freeze for BuildHandoffwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for BuildHandoff
impl RefUnwindSafe for BuildHandoff
impl Send for BuildHandoff
impl Sync for BuildHandoff
impl Unpin for BuildHandoff
impl UnsafeUnpin for BuildHandoffwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for BuildHandoff
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