pub struct AutoChestFilter {
pub id: AutoChestFilterId,
pub name: String,
pub rarity_id: Option<ItemRarityId>,
pub guaranteed_attribute_enabled: bool,
pub guaranteed_attribute_id: Option<AttributeId>,
pub additional_attribute_enabled: bool,
pub additional_attribute_ids: Vec<AttributeId>,
}Fields§
§id: AutoChestFilterId§name: String§rarity_id: Option<ItemRarityId>§guaranteed_attribute_enabled: bool§guaranteed_attribute_id: Option<AttributeId>§additional_attribute_enabled: bool§additional_attribute_ids: Vec<AttributeId>Implementations§
Trait Implementations§
Source§impl Clone for AutoChestFilter
impl Clone for AutoChestFilter
Source§fn clone(&self) -> AutoChestFilter
fn clone(&self) -> AutoChestFilter
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 AutoChestFilter
impl Debug for AutoChestFilter
Source§impl Default for AutoChestFilter
impl Default for AutoChestFilter
Source§fn default() -> AutoChestFilter
fn default() -> AutoChestFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoChestFilter
impl<'de> Deserialize<'de> for AutoChestFilter
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 JsonSchema for AutoChestFilter
impl JsonSchema for AutoChestFilter
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AutoChestFilter
impl PartialEq for AutoChestFilter
Source§impl Serialize for AutoChestFilter
impl Serialize for AutoChestFilter
Source§impl Tsify for AutoChestFilter
impl Tsify for AutoChestFilter
const DECL: &'static str = "export interface AutoChestFilter {\n id: AutoChestFilterId;\n name: string;\n rarity_id: ItemRarityId | null;\n guaranteed_attribute_enabled: boolean;\n guaranteed_attribute_id: AttributeId | null;\n additional_attribute_enabled: boolean;\n additional_attribute_ids: AttributeId[];\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
impl Eq for AutoChestFilter
impl StructuralPartialEq for AutoChestFilter
Auto Trait Implementations§
impl Freeze for AutoChestFilter
impl RefUnwindSafe for AutoChestFilter
impl Send for AutoChestFilter
impl Sync for AutoChestFilter
impl Unpin for AutoChestFilter
impl UnwindSafe for AutoChestFilter
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more