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 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 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
impl StructuralPartialEq for GiftWrappingConfiguration
Auto Trait Implementations§
impl Freeze for GiftWrappingConfiguration
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