pub struct RefuelPartialEvent {
pub cost: u64,
pub amount: f32,
}
Fields§
§cost: u64
§amount: f32
Trait Implementations§
Source§impl Clone for RefuelPartialEvent
impl Clone for RefuelPartialEvent
Source§fn clone(&self) -> RefuelPartialEvent
fn clone(&self) -> RefuelPartialEvent
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 RefuelPartialEvent
impl Debug for RefuelPartialEvent
Source§impl<'de> Deserialize<'de> for RefuelPartialEvent
impl<'de> Deserialize<'de> for RefuelPartialEvent
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 RefuelPartialEvent
impl PartialEq for RefuelPartialEvent
Source§impl Serialize for RefuelPartialEvent
impl Serialize for RefuelPartialEvent
impl StructuralPartialEq for RefuelPartialEvent
Auto Trait Implementations§
impl Freeze for RefuelPartialEvent
impl RefUnwindSafe for RefuelPartialEvent
impl Send for RefuelPartialEvent
impl Sync for RefuelPartialEvent
impl Unpin for RefuelPartialEvent
impl UnwindSafe for RefuelPartialEvent
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