pub struct GiftWrappingConfiguration {
pub is_wrapping_enabled: bool,
pub wrapping_price: i32,
pub stuff_types: Vec<i32>,
pub box_types: Vec<i32>,
pub ribbon_types: Vec<i32>,
pub default_stuff_types: Vec<i32>,
}
Fields§
§is_wrapping_enabled: bool
§wrapping_price: i32
§stuff_types: Vec<i32>
§box_types: Vec<i32>
§ribbon_types: Vec<i32>
§default_stuff_types: Vec<i32>
Trait Implementations§
source§impl BaseParser for GiftWrappingConfiguration
impl BaseParser for GiftWrappingConfiguration
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for GiftWrappingConfiguration
impl Clone for GiftWrappingConfiguration
source§fn clone(&self) -> GiftWrappingConfiguration
fn clone(&self) -> GiftWrappingConfiguration
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 GiftWrappingConfiguration
impl Debug for GiftWrappingConfiguration
source§impl Default for GiftWrappingConfiguration
impl Default for GiftWrappingConfiguration
source§fn default() -> GiftWrappingConfiguration
fn default() -> GiftWrappingConfiguration
Returns the “default value” for a type. Read more
source§impl PartialEq<GiftWrappingConfiguration> for GiftWrappingConfiguration
impl PartialEq<GiftWrappingConfiguration> for GiftWrappingConfiguration
source§fn eq(&self, other: &GiftWrappingConfiguration) -> bool
fn eq(&self, other: &GiftWrappingConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GiftWrappingConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for GiftWrappingConfiguration
impl Send for GiftWrappingConfiguration
impl Sync for GiftWrappingConfiguration
impl Unpin for GiftWrappingConfiguration
impl UnwindSafe for GiftWrappingConfiguration
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