pub struct ItemOffsetCurveFlat {
pub id: i32,
pub curve_id: i32,
pub offset: i32,
}Expand description
Flat Midnight offset-curve entry from ItemOffsetCurve DBC table.
Fields§
§id: i32§curve_id: i32§offset: i32DB column is curve_offset (offset is a SQL reserved word); the Rust field stays offset.
Trait Implementations§
Source§impl Clone for ItemOffsetCurveFlat
impl Clone for ItemOffsetCurveFlat
Source§fn clone(&self) -> ItemOffsetCurveFlat
fn clone(&self) -> ItemOffsetCurveFlat
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 CopyInsert for ItemOffsetCurveFlat
impl CopyInsert for ItemOffsetCurveFlat
Source§impl Debug for ItemOffsetCurveFlat
impl Debug for ItemOffsetCurveFlat
Source§impl Default for ItemOffsetCurveFlat
impl Default for ItemOffsetCurveFlat
Source§fn default() -> ItemOffsetCurveFlat
fn default() -> ItemOffsetCurveFlat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ItemOffsetCurveFlat
impl<'de> Deserialize<'de> for ItemOffsetCurveFlat
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<ItemOffsetCurveFlat> for JsValuewhere
ItemOffsetCurveFlat: Serialize,
impl From<ItemOffsetCurveFlat> for JsValuewhere
ItemOffsetCurveFlat: Serialize,
Source§fn from(value: ItemOffsetCurveFlat) -> Self
fn from(value: ItemOffsetCurveFlat) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ItemOffsetCurveFlatwhere
Self: DeserializeOwned,
impl FromWasmAbi for ItemOffsetCurveFlatwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &ItemOffsetCurveFlatwhere
ItemOffsetCurveFlat: Serialize,
impl IntoWasmAbi for &ItemOffsetCurveFlatwhere
ItemOffsetCurveFlat: Serialize,
Source§impl IntoWasmAbi for ItemOffsetCurveFlatwhere
ItemOffsetCurveFlat: Serialize,
impl IntoWasmAbi for ItemOffsetCurveFlatwhere
ItemOffsetCurveFlat: Serialize,
Source§impl JsonSchema for ItemOffsetCurveFlat
impl JsonSchema for ItemOffsetCurveFlat
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 moreSource§impl OptionFromWasmAbi for ItemOffsetCurveFlatwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for ItemOffsetCurveFlatwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for ItemOffsetCurveFlatwhere
ItemOffsetCurveFlat: Serialize,
impl OptionIntoWasmAbi for ItemOffsetCurveFlatwhere
ItemOffsetCurveFlat: Serialize,
Source§impl RefFromWasmAbi for ItemOffsetCurveFlatwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for ItemOffsetCurveFlatwhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = SelfOwner<ItemOffsetCurveFlat>
type Anchor = SelfOwner<ItemOffsetCurveFlat>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for ItemOffsetCurveFlat
impl Serialize for ItemOffsetCurveFlat
Source§impl Tsify for ItemOffsetCurveFlat
impl Tsify for ItemOffsetCurveFlat
const DECL: &'static str = "/**\n * Flat Midnight offset-curve entry from `ItemOffsetCurve` DBC table.\n */\nexport interface ItemOffsetCurveFlat {\n id: number;\n curve_id: number;\n /**\n * DB column is `curve_offset` (`offset` is a SQL reserved word); the Rust field stays `offset`.\n */\n curve_offset: number;\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>
Source§impl VectorFromWasmAbi for ItemOffsetCurveFlatwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for ItemOffsetCurveFlatwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for ItemOffsetCurveFlatwhere
ItemOffsetCurveFlat: Serialize,
impl VectorIntoWasmAbi for ItemOffsetCurveFlatwhere
ItemOffsetCurveFlat: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for ItemOffsetCurveFlat
impl WasmDescribe for ItemOffsetCurveFlat
Auto Trait Implementations§
impl Freeze for ItemOffsetCurveFlat
impl RefUnwindSafe for ItemOffsetCurveFlat
impl Send for ItemOffsetCurveFlat
impl Sync for ItemOffsetCurveFlat
impl Unpin for ItemOffsetCurveFlat
impl UnsafeUnpin for ItemOffsetCurveFlat
impl UnwindSafe for ItemOffsetCurveFlat
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.