pub struct HandoffCheck<'a> {
pub task_id: Option<&'a str>,
pub releaser_keys: Option<Keys<'a>>,
pub require_release: bool,
pub from_actor: Option<&'a str>,
}Expand description
Options for verify_handoff.
Fields§
§task_id: Option<&'a str>The handoff must be for this task.
releaser_keys: Option<Keys<'a>>Key source for the releasing actor; giving one requires the release.
require_release: boolRequire the releasing actor’s signed release (keys from the receiver
source when no releaser_keys is given).
from_actor: Option<&'a str>The releasing actor the caller expects. The release must be signed by
it and name it as fromActor; with no releaser key a did:key releaser
verifies under its own key only when this names it, and the receiver
is then pinned to the toActor that verified release names.
Trait Implementations§
Source§impl<'a> Clone for HandoffCheck<'a>
impl<'a> Clone for HandoffCheck<'a>
impl<'a> Copy for HandoffCheck<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for HandoffCheck<'a>
impl<'a> !Send for HandoffCheck<'a>
impl<'a> !Sync for HandoffCheck<'a>
impl<'a> !UnwindSafe for HandoffCheck<'a>
impl<'a> Forget for HandoffCheck<'a>
impl<'a> Freeze for HandoffCheck<'a>
impl<'a> Move for HandoffCheck<'a>
impl<'a> Unpin for HandoffCheck<'a>
impl<'a> UnsafeUnpin for HandoffCheck<'a>where
&'a str: UnsafeUnpin,
&'a [u8]: UnsafeUnpin,
&'a BTreeMap<String, Vec<u8>>: UnsafeUnpin,
&'a dyn Fn(&str) -> Option<Vec<u8>>: UnsafeUnpin,
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