pub struct ReservationAllocation {
pub ticket: Ticket,
pub instruction_type: u8,
pub chosen_alternative: u64,
pub resource: String,
}Fields§
§ticket: Ticket§instruction_type: u8§chosen_alternative: u64§resource: StringImplementations§
Source§impl ReservationAllocation
impl ReservationAllocation
pub const IMMEDIATELY_PROCEED: u8 = 0u8
pub const WAIT_IDENTIFIED: u8 = 1u8
Trait 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 · 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 Default for ReservationAllocation
impl Default for ReservationAllocation
Source§impl<'de> Deserialize<'de> for ReservationAllocation
impl<'de> Deserialize<'de> for ReservationAllocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReservationAllocation
impl PartialEq for ReservationAllocation
Source§impl Serialize for ReservationAllocation
impl Serialize for ReservationAllocation
impl Message for ReservationAllocation
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 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