pub struct CompartmentPreSelection {
pub coach: String,
pub compartment: String,
}Expand description
CompartmentPreSelection : A preselected compartment
Fields§
§coach: StringCoach number
compartment: StringCompartment number as indicated at the compartment in the coach.
Implementations§
Source§impl CompartmentPreSelection
impl CompartmentPreSelection
Sourcepub fn new(coach: String, compartment: String) -> CompartmentPreSelection
pub fn new(coach: String, compartment: String) -> CompartmentPreSelection
A preselected compartment
Trait Implementations§
Source§impl Clone for CompartmentPreSelection
impl Clone for CompartmentPreSelection
Source§fn clone(&self) -> CompartmentPreSelection
fn clone(&self) -> CompartmentPreSelection
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 CompartmentPreSelection
impl Debug for CompartmentPreSelection
Source§impl Default for CompartmentPreSelection
impl Default for CompartmentPreSelection
Source§fn default() -> CompartmentPreSelection
fn default() -> CompartmentPreSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompartmentPreSelection
impl<'de> Deserialize<'de> for CompartmentPreSelection
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 CompartmentPreSelection
impl PartialEq for CompartmentPreSelection
Source§impl Serialize for CompartmentPreSelection
impl Serialize for CompartmentPreSelection
impl StructuralPartialEq for CompartmentPreSelection
Auto Trait Implementations§
impl Freeze for CompartmentPreSelection
impl RefUnwindSafe for CompartmentPreSelection
impl Send for CompartmentPreSelection
impl Sync for CompartmentPreSelection
impl Unpin for CompartmentPreSelection
impl UnwindSafe for CompartmentPreSelection
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