pub struct AuraInfo {
pub aura_id: u32,
pub name: String,
pub slug: String,
pub on: String,
pub base_duration_ms: u32,
pub max_stacks: u8,
pub pandemic: bool,
pub haste_buff_pct: f64,
pub damage_mult_pct: f64,
pub periodic: Option<PeriodicInfo>,
}Fields§
§aura_id: u32§name: String§slug: String§on: String§base_duration_ms: u32§max_stacks: u8§pandemic: bool§haste_buff_pct: f64§damage_mult_pct: f64§periodic: Option<PeriodicInfo>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuraInfo
impl<'de> Deserialize<'de> for AuraInfo
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 FromWasmAbi for AuraInfowhere
Self: DeserializeOwned,
impl FromWasmAbi for AuraInfowhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &AuraInfo
impl IntoWasmAbi for &AuraInfo
Source§impl IntoWasmAbi for AuraInfo
impl IntoWasmAbi for AuraInfo
Source§impl OptionFromWasmAbi for AuraInfowhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for AuraInfowhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for AuraInfo
impl OptionIntoWasmAbi for AuraInfo
Source§impl RefFromWasmAbi for AuraInfowhere
Self: DeserializeOwned,
impl RefFromWasmAbi for AuraInfowhere
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§impl Tsify for AuraInfo
impl Tsify for AuraInfo
const DECL: &'static str = "export interface AuraInfo {\n aura_id: number;\n name: string;\n slug: string;\n on: string;\n base_duration_ms: number;\n max_stacks: number;\n pandemic: boolean;\n haste_buff_pct: number;\n damage_mult_pct: number;\n periodic: PeriodicInfo | undefined;\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 AuraInfowhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for AuraInfowhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for AuraInfo
impl VectorIntoWasmAbi for AuraInfo
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribeVector for AuraInfo
impl WasmDescribeVector for AuraInfo
impl StructuralPartialEq for AuraInfo
Auto Trait Implementations§
impl Freeze for AuraInfo
impl RefUnwindSafe for AuraInfo
impl Send for AuraInfo
impl Sync for AuraInfo
impl Unpin for AuraInfo
impl UnsafeUnpin for AuraInfo
impl UnwindSafe for AuraInfo
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.