pub struct BehaviorChecked<B, O> {
pub output: O,
/* private fields */
}Expand description
Proof token: behavior B ran its check phase against an account
and succeeded, yielding B::CheckOutput.
The B type parameter identifies the behavior that performed the check.
APIs that require behavior-validated accounts can
take this token (or an AccountProof
composed with it) instead of a bare view.
Fields§
§output: OThe behavior-defined check payload.
Auto Trait Implementations§
impl<B, O> Freeze for BehaviorChecked<B, O>
impl<B, O> RefUnwindSafe for BehaviorChecked<B, O>
impl<B, O> Send for BehaviorChecked<B, O>
impl<B, O> Sync for BehaviorChecked<B, O>
impl<B, O> Unpin for BehaviorChecked<B, O>
impl<B, O> UnsafeUnpin for BehaviorChecked<B, O>
impl<B, O> UnwindSafe for BehaviorChecked<B, O>
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