struct SerializedItem<'a> {Show 13 fields
slot: GearSlot,
id: u32,
bonus_ids: Option<&'a Vec<u32>>,
enchant_id: Option<&'a u32>,
gem_ids: Option<&'a Vec<u32>>,
crafted_stats: Option<&'a Vec<u32>>,
crafting_quality: Option<&'a u8>,
drop_level: Option<&'a u32>,
ilevel: Option<&'a u32>,
enchant: Option<&'a str>,
suffix: Option<i32>,
gem_bonus_ids: Option<&'a Vec<u32>>,
titan_disc_id: Option<u32>,
}Fields§
§slot: GearSlot§id: u32§bonus_ids: Option<&'a Vec<u32>>§enchant_id: Option<&'a u32>§gem_ids: Option<&'a Vec<u32>>§crafted_stats: Option<&'a Vec<u32>>§crafting_quality: Option<&'a u8>§drop_level: Option<&'a u32>§ilevel: Option<&'a u32>§enchant: Option<&'a str>§suffix: Option<i32>§gem_bonus_ids: Option<&'a Vec<u32>>§titan_disc_id: Option<u32>Trait Implementations§
Source§impl<'a> From<&'a Item> for SerializedItem<'a>
impl<'a> From<&'a Item> for SerializedItem<'a>
Source§impl<'a> JsonSchema for SerializedItem<'a>
impl<'a> JsonSchema for SerializedItem<'a>
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
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl<'a> Freeze for SerializedItem<'a>
impl<'a> RefUnwindSafe for SerializedItem<'a>
impl<'a> Send for SerializedItem<'a>
impl<'a> Sync for SerializedItem<'a>
impl<'a> Unpin for SerializedItem<'a>
impl<'a> UnsafeUnpin for SerializedItem<'a>
impl<'a> UnwindSafe for SerializedItem<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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