pub struct SystemReservationContext {
pub current_reservation: Option<u64>,
pub previous_reservation: Option<u64>,
}
Fields§
§current_reservation: Option<u64>
Reservation created in current execution.
previous_reservation: Option<u64>
Reservation from ContextStore
.
Implementations§
Source§impl SystemReservationContext
impl SystemReservationContext
pub fn from_dispatch(dispatch: &IncomingDispatch) -> Self
pub fn has_any(&self) -> bool
Trait Implementations§
Source§impl Debug for SystemReservationContext
impl Debug for SystemReservationContext
Source§impl Default for SystemReservationContext
impl Default for SystemReservationContext
Source§fn default() -> SystemReservationContext
fn default() -> SystemReservationContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SystemReservationContext
impl RefUnwindSafe for SystemReservationContext
impl Send for SystemReservationContext
impl Sync for SystemReservationContext
impl Unpin for SystemReservationContext
impl UnwindSafe for SystemReservationContext
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