pub struct SlotDiffView {
pub slot_index: u32,
pub item_id: u32,
pub bonus_id_hash: u32,
}Expand description
A single slot override that distinguishes a permutation from baseline.
Fields§
§slot_index: u32§item_id: u32§bonus_id_hash: u32Trait Implementations§
Source§impl Clone for SlotDiffView
impl Clone for SlotDiffView
Source§fn clone(&self) -> SlotDiffView
fn clone(&self) -> SlotDiffView
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 SlotDiffView
impl Debug for SlotDiffView
Source§impl Serialize for SlotDiffView
impl Serialize for SlotDiffView
Source§impl Tsify for SlotDiffView
impl Tsify for SlotDiffView
const DECL: &'static str = "/**\n * A single slot override that distinguishes a permutation from baseline.\n */\nexport interface SlotDiffView {\n slot_index: number;\n item_id: number;\n bonus_id_hash: number;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Auto Trait Implementations§
impl Freeze for SlotDiffView
impl RefUnwindSafe for SlotDiffView
impl Send for SlotDiffView
impl Sync for SlotDiffView
impl Unpin for SlotDiffView
impl UnsafeUnpin for SlotDiffView
impl UnwindSafe for SlotDiffView
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