pub struct AncillaryRelation {
pub min_group_items_to_be_booked: i32,
pub max_group_items_to_be_booked: Option<Option<i32>>,
pub ancillary_group: Box<AncillaryGroup>,
}Fields§
§min_group_items_to_be_booked: i32§max_group_items_to_be_booked: Option<Option<i32>>§ancillary_group: Box<AncillaryGroup>Implementations§
Source§impl AncillaryRelation
impl AncillaryRelation
pub fn new( min_group_items_to_be_booked: i32, ancillary_group: AncillaryGroup, ) -> AncillaryRelation
Trait Implementations§
Source§impl Clone for AncillaryRelation
impl Clone for AncillaryRelation
Source§fn clone(&self) -> AncillaryRelation
fn clone(&self) -> AncillaryRelation
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 AncillaryRelation
impl Debug for AncillaryRelation
Source§impl Default for AncillaryRelation
impl Default for AncillaryRelation
Source§fn default() -> AncillaryRelation
fn default() -> AncillaryRelation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AncillaryRelation
impl<'de> Deserialize<'de> for AncillaryRelation
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 AncillaryRelation
impl PartialEq for AncillaryRelation
Source§impl Serialize for AncillaryRelation
impl Serialize for AncillaryRelation
impl StructuralPartialEq for AncillaryRelation
Auto Trait Implementations§
impl Freeze for AncillaryRelation
impl RefUnwindSafe for AncillaryRelation
impl Send for AncillaryRelation
impl Sync for AncillaryRelation
impl Unpin for AncillaryRelation
impl UnwindSafe for AncillaryRelation
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