pub struct CancelDropshipEvent {
pub refund: u64,
}
Expand description
Fired when the player cancels a dropship.
Fields§
§refund: u64
Amount of credits refunded to the player.
Trait Implementations§
Source§impl Clone for CancelDropshipEvent
impl Clone for CancelDropshipEvent
Source§fn clone(&self) -> CancelDropshipEvent
fn clone(&self) -> CancelDropshipEvent
Returns a copy 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 CancelDropshipEvent
impl Debug for CancelDropshipEvent
Source§impl<'de> Deserialize<'de> for CancelDropshipEvent
impl<'de> Deserialize<'de> for CancelDropshipEvent
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 CancelDropshipEvent
impl PartialEq for CancelDropshipEvent
Source§impl Serialize for CancelDropshipEvent
impl Serialize for CancelDropshipEvent
impl StructuralPartialEq for CancelDropshipEvent
Auto Trait Implementations§
impl Freeze for CancelDropshipEvent
impl RefUnwindSafe for CancelDropshipEvent
impl Send for CancelDropshipEvent
impl Sync for CancelDropshipEvent
impl Unpin for CancelDropshipEvent
impl UnwindSafe for CancelDropshipEvent
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