Struct g_rust::extension::parsers::subparsers::CfhSanctionTypeData
source · pub struct CfhSanctionTypeData {
pub name: String,
pub sanction_length_in_hours: i32,
pub _unused: i32,
pub avatar_only: bool,
pub trade_lock_info: Option<String>,
pub machine_ban_info: Option<String>,
}
Fields§
§name: String
§sanction_length_in_hours: i32
§_unused: i32
§avatar_only: bool
§trade_lock_info: Option<String>
§machine_ban_info: Option<String>
Trait Implementations§
source§impl Clone for CfhSanctionTypeData
impl Clone for CfhSanctionTypeData
source§fn clone(&self) -> CfhSanctionTypeData
fn clone(&self) -> CfhSanctionTypeData
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 CfhSanctionTypeData
impl Debug for CfhSanctionTypeData
source§impl Default for CfhSanctionTypeData
impl Default for CfhSanctionTypeData
source§fn default() -> CfhSanctionTypeData
fn default() -> CfhSanctionTypeData
Returns the “default value” for a type. Read more
source§impl PacketVariable for CfhSanctionTypeData
impl PacketVariable for CfhSanctionTypeData
source§impl PartialEq<CfhSanctionTypeData> for CfhSanctionTypeData
impl PartialEq<CfhSanctionTypeData> for CfhSanctionTypeData
source§fn eq(&self, other: &CfhSanctionTypeData) -> bool
fn eq(&self, other: &CfhSanctionTypeData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CfhSanctionTypeData
Auto Trait Implementations§
impl RefUnwindSafe for CfhSanctionTypeData
impl Send for CfhSanctionTypeData
impl Sync for CfhSanctionTypeData
impl Unpin for CfhSanctionTypeData
impl UnwindSafe for CfhSanctionTypeData
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