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>
Implementations§
Source§impl SlotDescription
impl SlotDescription
pub fn arrow_schema() -> Schema
Trait Implementations§
Source§impl ArrowDeserialize for SlotDescription
impl ArrowDeserialize for SlotDescription
Source§type ArrayType = SlotDescriptionArray
type ArrayType = SlotDescriptionArray
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 SlotDescription
impl ArrowField for SlotDescription
Source§impl ArrowSerialize for SlotDescription
impl ArrowSerialize for SlotDescription
Source§type ArrayBuilderType = MutableSlotDescriptionArray
type ArrayBuilderType = MutableSlotDescriptionArray
The
arrow::array::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 SlotDescription
impl Clone for SlotDescription
Source§fn clone(&self) -> SlotDescription
fn clone(&self) -> SlotDescription
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 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§impl Serialize for SlotDescription
impl Serialize for SlotDescription
impl StructuralPartialEq for SlotDescription
Auto Trait Implementations§
impl Freeze for SlotDescription
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
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