Struct s2protocol::init_data::UserInitialData
source · pub struct UserInitialData {Show 19 fields
pub name: String,
pub clan_tag: Option<String>,
pub clan_logo: Option<Vec<u8>>,
pub highest_league: Option<u8>,
pub combined_race_levels: Option<u32>,
pub random_seed: u32,
pub race_preference: Option<i64>,
pub team_preference: Option<u8>,
pub test_map: bool,
pub test_auto: bool,
pub examine: bool,
pub custom_interface: bool,
pub test_type: u32,
pub observe: u8,
pub hero: String,
pub skin: String,
pub mount: String,
pub toon_handle: String,
pub scaled_rating: Option<i32>,
}Fields§
§name: String§clan_tag: Option<String>§clan_logo: Option<Vec<u8>>§highest_league: Option<u8>§combined_race_levels: Option<u32>§random_seed: u32§race_preference: Option<i64>§team_preference: Option<u8>§test_map: bool§test_auto: bool§examine: bool§custom_interface: bool§test_type: u32§observe: u8§hero: String§skin: String§mount: String§toon_handle: String§scaled_rating: Option<i32>Trait Implementations§
source§impl ArrowDeserialize for UserInitialData
impl ArrowDeserialize for UserInitialData
§type ArrayType = UserInitialDataArray
type ArrayType = UserInitialDataArray
The
arrow2::Array type corresponding to this fieldsource§fn arrow_deserialize<'a>(v: Option<Self>) -> Option<Self>
fn arrow_deserialize<'a>(v: Option<Self>) -> Option<Self>
Deserialize this field from arrow
source§impl ArrowField for UserInitialData
impl ArrowField for UserInitialData
source§impl ArrowSerialize for UserInitialData
impl ArrowSerialize for UserInitialData
§type MutableArrayType = MutableUserInitialDataArray
type MutableArrayType = MutableUserInitialDataArray
The
arrow2::array::MutableArray that holds this valuesource§fn new_array() -> Self::MutableArrayType
fn new_array() -> Self::MutableArrayType
Create a new mutable array
source§fn arrow_serialize(v: &Self, array: &mut Self::MutableArrayType) -> Result<()>
fn arrow_serialize(v: &Self, array: &mut Self::MutableArrayType) -> Result<()>
Serialize this field to arrow
source§impl Clone for UserInitialData
impl Clone for UserInitialData
source§fn clone(&self) -> UserInitialData
fn clone(&self) -> UserInitialData
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 UserInitialData
impl Debug for UserInitialData
source§impl<'de> Deserialize<'de> for UserInitialData
impl<'de> Deserialize<'de> for UserInitialData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for UserInitialData
impl PartialEq for UserInitialData
source§fn eq(&self, other: &UserInitialData) -> bool
fn eq(&self, other: &UserInitialData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UserInitialData
impl Serialize for UserInitialData
source§impl TryFrom<SUserInitialData> for UserInitialData
impl TryFrom<SUserInitialData> for UserInitialData
§type Error = S2ProtocolError
type Error = S2ProtocolError
The type returned in the event of a conversion error.
impl StructuralPartialEq for UserInitialData
Auto Trait Implementations§
impl RefUnwindSafe for UserInitialData
impl Send for UserInitialData
impl Sync for UserInitialData
impl Unpin for UserInitialData
impl UnwindSafe for UserInitialData
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