Struct s2protocol::init_data::SlotDescription
source · pub struct SlotDescription {
pub allowed_colors: i64,
pub allowed_races: i64,
pub allowed_difficulty: i64,
pub allowed_controls: Vec<u8>,
pub allowed_observe_types: i64,
pub allowed_ai_builds: Vec<u8>,
}Fields§
§allowed_colors: i64§allowed_races: i64§allowed_difficulty: i64§allowed_controls: Vec<u8>§allowed_observe_types: i64§allowed_ai_builds: Vec<u8>Trait Implementations§
source§impl ArrowDeserialize for SlotDescription
impl ArrowDeserialize for SlotDescription
§type ArrayType = SlotDescriptionArray
type ArrayType = SlotDescriptionArray
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 SlotDescription
impl ArrowField for SlotDescription
source§impl ArrowSerialize for SlotDescription
impl ArrowSerialize for SlotDescription
§type MutableArrayType = MutableSlotDescriptionArray
type MutableArrayType = MutableSlotDescriptionArray
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 SlotDescription
impl Clone for SlotDescription
source§fn clone(&self) -> SlotDescription
fn clone(&self) -> SlotDescription
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 SlotDescription
impl Debug for SlotDescription
source§impl<'de> Deserialize<'de> for SlotDescription
impl<'de> Deserialize<'de> for SlotDescription
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 From<GameSSlotDescription> for SlotDescription
impl From<GameSSlotDescription> for SlotDescription
source§fn from(value: GameSSlotDescription) -> Self
fn from(value: GameSSlotDescription) -> Self
Converts to this type from the input type.
source§impl PartialEq for SlotDescription
impl PartialEq for SlotDescription
source§fn eq(&self, other: &SlotDescription) -> bool
fn eq(&self, other: &SlotDescription) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SlotDescription
impl Serialize for SlotDescription
impl StructuralPartialEq for SlotDescription
Auto Trait Implementations§
impl RefUnwindSafe for SlotDescription
impl Send for SlotDescription
impl Sync for SlotDescription
impl Unpin for SlotDescription
impl UnwindSafe for SlotDescription
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