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>Implementations§
Source§impl UserInitialData
impl UserInitialData
pub fn arrow_schema() -> Schema
Trait Implementations§
Source§impl ArrowDeserialize for UserInitialData
impl ArrowDeserialize for UserInitialData
Source§type ArrayType = UserInitialDataArray
type ArrayType = UserInitialDataArray
The
arrow::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
Source§type ArrayBuilderType = MutableUserInitialDataArray
type ArrayBuilderType = MutableUserInitialDataArray
The
ArrayBuilder that holds this valueSource§fn new_array() -> Self::ArrayBuilderType
fn new_array() -> Self::ArrayBuilderType
Create a new mutable array
Source§fn arrow_serialize(v: &Self, array: &mut Self::ArrayBuilderType) -> Result<()>
fn arrow_serialize(v: &Self, array: &mut Self::ArrayBuilderType) -> 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 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 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§impl Serialize for UserInitialData
impl Serialize for UserInitialData
Source§impl TryFrom<SUserInitialData> for UserInitialData
impl TryFrom<SUserInitialData> for UserInitialData
Source§type Error = S2ProtocolError
type Error = S2ProtocolError
The type returned in the event of a conversion error.
impl StructuralPartialEq for UserInitialData
Auto Trait Implementations§
impl Freeze for UserInitialData
impl RefUnwindSafe for UserInitialData
impl Send for UserInitialData
impl Sync for UserInitialData
impl Unpin for UserInitialData
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more