pub struct Verdicts<V: VerdictRepresentation, VerdictTime: OutputTimeRepresentation> {
pub timed: Vec<(VerdictTime::InnerTime, V)>,
pub event: V,
pub ts: VerdictTime::InnerTime,
}Expand description
The Verdicts struct represents the verdict of the API.
It contains the output of the periodic streams with the timed field and the output of the event-based streams with event.
The field timed is a vector, containing all updates of periodic streams since the last event.
Fields§
§timed: Vec<(VerdictTime::InnerTime, V)>All verdicts caused by timed streams given at each deadline that occurred.
event: VThe verdict that resulted from evaluation the event.
ts: VerdictTime::InnerTimeThe time of the event.
Trait Implementations§
Source§impl<V: Clone + VerdictRepresentation, VerdictTime: Clone + OutputTimeRepresentation> Clone for Verdicts<V, VerdictTime>
impl<V: Clone + VerdictRepresentation, VerdictTime: Clone + OutputTimeRepresentation> Clone for Verdicts<V, VerdictTime>
Auto Trait Implementations§
impl<V, VerdictTime> Freeze for Verdicts<V, VerdictTime>
impl<V, VerdictTime> RefUnwindSafe for Verdicts<V, VerdictTime>
impl<V, VerdictTime> Send for Verdicts<V, VerdictTime>
impl<V, VerdictTime> Sync for Verdicts<V, VerdictTime>
impl<V, VerdictTime> Unpin for Verdicts<V, VerdictTime>
impl<V, VerdictTime> UnwindSafe for Verdicts<V, VerdictTime>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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