pub struct ElicitationValidation {
pub valid: bool,
pub approver: Option<String>,
pub intent_id: Option<String>,
pub reason: Option<String>,
}Expand description
What ElicitationInvoker::validate returns — the genuineness
verdict plus the resolved facts the runtime records for audit. The
runtime layers the scope-over-args check on top before allowing the
phase to proceed.
Fields§
§valid: booltrue when the response is genuine: the signed token validates,
its intent binding matches this elicitation, and the responder is
the resolved approver.
approver: Option<String>Who actually consented — cross-checked against the dispatch-time
approver. Recorded as elicitation.approver.
intent_id: Option<String>Intent id carried in the signed response, for audit reconciliation against the registered intent.
reason: Option<String>Why validation failed, when valid is false. None on success.
Trait Implementations§
Source§impl Clone for ElicitationValidation
impl Clone for ElicitationValidation
Source§fn clone(&self) -> ElicitationValidation
fn clone(&self) -> ElicitationValidation
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 moreAuto Trait Implementations§
impl Freeze for ElicitationValidation
impl RefUnwindSafe for ElicitationValidation
impl Send for ElicitationValidation
impl Sync for ElicitationValidation
impl Unpin for ElicitationValidation
impl UnsafeUnpin for ElicitationValidation
impl UnwindSafe for ElicitationValidation
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