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 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