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