Struct boxcars::Reservation
source · pub struct Reservation {
pub number: u32,
pub unique_id: UniqueId,
pub name: Option<String>,
pub unknown1: bool,
pub unknown2: bool,
pub unknown3: Option<u8>,
}
Fields§
§number: u32
§unique_id: UniqueId
§name: Option<String>
§unknown1: bool
§unknown2: bool
§unknown3: Option<u8>
Trait Implementations§
source§impl Clone for Reservation
impl Clone for Reservation
source§fn clone(&self) -> Reservation
fn clone(&self) -> Reservation
Returns a copy 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 Reservation
impl Debug for Reservation
source§impl PartialEq for Reservation
impl PartialEq for Reservation
source§fn eq(&self, other: &Reservation) -> bool
fn eq(&self, other: &Reservation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Reservation
impl Serialize for Reservation
impl StructuralPartialEq for Reservation
Auto Trait Implementations§
impl Freeze for Reservation
impl RefUnwindSafe for Reservation
impl Send for Reservation
impl Sync for Reservation
impl Unpin for Reservation
impl UnwindSafe for Reservation
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