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