LobbySlot

Struct LobbySlot 

Source
pub struct LobbySlot {
Show 32 fields pub control: i64, pub user_id: Option<i64>, pub team_id: i64, pub color_pref: Option<i64>, pub race_pref: Option<i64>, pub difficulty: i64, pub ai_build: i64, pub handicap: u32, pub observe: u8, pub logo_index: u32, pub hero: String, pub skin: String, pub mount: String, pub artifacts: Vec<String>, pub working_set_slot_id: Option<u8>, pub rewards: Vec<u32>, pub toon_handle: String, pub licenses: Vec<u32>, pub tandem_leader_id: Option<i64>, pub commander: String, pub commander_level: u32, pub has_silence_penalty: bool, pub tandem_id: Option<i64>, pub commander_mastery_level: u32, pub commander_mastery_talents: Vec<u32>, pub trophy_id: u32, pub reward_overrides: Vec<RewardOverride>, pub brutal_plus_difficulty: u32, pub retry_mutation_indexes: Vec<u32>, pub a_c_enemy_race: u32, pub a_c_enemy_wave_type: u32, pub selected_commander_prestige: u32,
}

Fields§

§control: i64§user_id: Option<i64>§team_id: i64§color_pref: Option<i64>§race_pref: Option<i64>§difficulty: i64§ai_build: i64§handicap: u32§observe: u8§logo_index: u32§hero: String§skin: String§mount: String§artifacts: Vec<String>§working_set_slot_id: Option<u8>§rewards: Vec<u32>§toon_handle: String§licenses: Vec<u32>§tandem_leader_id: Option<i64>§commander: String§commander_level: u32§has_silence_penalty: bool§tandem_id: Option<i64>§commander_mastery_level: u32§commander_mastery_talents: Vec<u32>§trophy_id: u32§reward_overrides: Vec<RewardOverride>§brutal_plus_difficulty: u32§retry_mutation_indexes: Vec<u32>§a_c_enemy_race: u32§a_c_enemy_wave_type: u32§selected_commander_prestige: u32

Implementations§

Trait Implementations§

Source§

impl ArrowDeserialize for LobbySlot

Source§

type ArrayType = LobbySlotArray

The arrow::Array type corresponding to this field
Source§

fn arrow_deserialize<'a>(v: Option<Self>) -> Option<Self>

Deserialize this field from arrow
Source§

impl ArrowField for LobbySlot

Source§

type Type = LobbySlot

This should be Self except when implementing large offset and fixed placeholder types. For the later, it should refer to the actual type. For example when the placeholder type is LargeString, this should be String.
Source§

fn data_type() -> DataType

Source§

impl ArrowSerialize for LobbySlot

Source§

type ArrayBuilderType = MutableLobbySlotArray

The arrow::array::ArrayBuilder that holds this value
Source§

fn new_array() -> Self::ArrayBuilderType

Create a new mutable array
Source§

fn arrow_serialize(v: &Self, array: &mut Self::ArrayBuilderType) -> Result<()>

Serialize this field to arrow
Source§

impl Clone for LobbySlot

Source§

fn clone(&self) -> LobbySlot

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LobbySlot

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for LobbySlot

Source§

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 LobbySlot

Source§

fn eq(&self, other: &LobbySlot) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for LobbySlot

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<GameSLobbySlot> for LobbySlot

Source§

type Error = S2ProtocolError

The type returned in the event of a conversion error.
Source§

fn try_from(value: GameSLobbySlot) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl StructuralPartialEq for LobbySlot

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,