pub struct RedeemVoucher {
pub voucher_code: String,
}
Fields§
§voucher_code: String
Trait Implementations§
source§impl BaseParser for RedeemVoucher
impl BaseParser for RedeemVoucher
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 RedeemVoucher
impl Clone for RedeemVoucher
source§fn clone(&self) -> RedeemVoucher
fn clone(&self) -> RedeemVoucher
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 RedeemVoucher
impl Debug for RedeemVoucher
source§impl Default for RedeemVoucher
impl Default for RedeemVoucher
source§fn default() -> RedeemVoucher
fn default() -> RedeemVoucher
Returns the “default value” for a type. Read more
source§impl PacketVariable for RedeemVoucher
impl PacketVariable for RedeemVoucher
source§impl PartialEq<RedeemVoucher> for RedeemVoucher
impl PartialEq<RedeemVoucher> for RedeemVoucher
source§fn eq(&self, other: &RedeemVoucher) -> bool
fn eq(&self, other: &RedeemVoucher) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RedeemVoucher
Auto Trait Implementations§
impl RefUnwindSafe for RedeemVoucher
impl Send for RedeemVoucher
impl Sync for RedeemVoucher
impl Unpin for RedeemVoucher
impl UnwindSafe for RedeemVoucher
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