pub struct ReadEvalAdmission {
pub result: Result<Value, Error>,
pub decision: ReadEvalDecision,
pub event: Event,
}Expand description
The value-or-error and the single ledger event produced by one admission.
Fields§
§result: Result<Value, Error>Evaluation result returned to the caller.
decision: ReadEvalDecisionDecision recorded for this admission.
event: EventExact event carrying decision in the broker ledger.
Auto Trait Implementations§
impl !RefUnwindSafe for ReadEvalAdmission
impl !UnwindSafe for ReadEvalAdmission
impl Freeze for ReadEvalAdmission
impl Send for ReadEvalAdmission
impl Sync for ReadEvalAdmission
impl Unpin for ReadEvalAdmission
impl UnsafeUnpin for ReadEvalAdmission
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more