pub struct ReservationAllocation {
pub reservation: ReservationRef,
pub pool: ReservationPoolKey,
pub requested: u64,
pub granted: u64,
pub remaining_after: u64,
pub disposition: ReservationDisposition,
}Fields§
§reservation: ReservationRef§pool: ReservationPoolKey§requested: u64§granted: u64§remaining_after: u64§disposition: ReservationDispositionTrait Implementations§
Source§impl Clone for ReservationAllocation
impl Clone for ReservationAllocation
Source§fn clone(&self) -> ReservationAllocation
fn clone(&self) -> ReservationAllocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReservationAllocation
impl Debug for ReservationAllocation
Source§impl<'de> Deserialize<'de> for ReservationAllocation
impl<'de> Deserialize<'de> for ReservationAllocation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReservationAllocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReservationAllocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReservationAllocation
Source§impl PartialEq for ReservationAllocation
impl PartialEq for ReservationAllocation
Source§impl Serialize for ReservationAllocation
impl Serialize for ReservationAllocation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ReservationAllocation
Auto Trait Implementations§
impl Freeze for ReservationAllocation
impl RefUnwindSafe for ReservationAllocation
impl Send for ReservationAllocation
impl Sync for ReservationAllocation
impl Unpin for ReservationAllocation
impl UnsafeUnpin for ReservationAllocation
impl UnwindSafe for ReservationAllocation
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