pub struct InteractionNotice {
pub target_id: String,
pub message: String,
pub coins_delta: i32,
pub inventory_delta: Vec<ItemStack>,
}Fields§
§target_id: String§message: String§coins_delta: i32§inventory_delta: Vec<ItemStack>Trait Implementations§
Source§impl Clone for InteractionNotice
impl Clone for InteractionNotice
Source§fn clone(&self) -> InteractionNotice
fn clone(&self) -> InteractionNotice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InteractionNotice
impl Debug for InteractionNotice
Source§impl<'de> Deserialize<'de> for InteractionNotice
impl<'de> Deserialize<'de> for InteractionNotice
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 PartialEq for InteractionNotice
impl PartialEq for InteractionNotice
Source§impl Serialize for InteractionNotice
impl Serialize for InteractionNotice
impl StructuralPartialEq for InteractionNotice
Auto Trait Implementations§
impl Freeze for InteractionNotice
impl RefUnwindSafe for InteractionNotice
impl Send for InteractionNotice
impl Sync for InteractionNotice
impl Unpin for InteractionNotice
impl UnsafeUnpin for InteractionNotice
impl UnwindSafe for InteractionNotice
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