pub struct ScrapTransaction {
pub waypoint_symbol: String,
pub ship_symbol: String,
pub total_price: i32,
pub timestamp: String,
}Expand description
ScrapTransaction : Result of a scrap transaction.
Fields§
§waypoint_symbol: StringThe symbol of the waypoint.
ship_symbol: StringThe symbol of the ship.
total_price: i32The total price of the transaction.
timestamp: StringThe timestamp of the transaction.
Implementations§
Trait Implementations§
Source§impl Clone for ScrapTransaction
impl Clone for ScrapTransaction
Source§fn clone(&self) -> ScrapTransaction
fn clone(&self) -> ScrapTransaction
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 ScrapTransaction
impl Debug for ScrapTransaction
Source§impl Default for ScrapTransaction
impl Default for ScrapTransaction
Source§fn default() -> ScrapTransaction
fn default() -> ScrapTransaction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScrapTransaction
impl<'de> Deserialize<'de> for ScrapTransaction
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 ScrapTransaction
impl PartialEq for ScrapTransaction
Source§impl Serialize for ScrapTransaction
impl Serialize for ScrapTransaction
impl StructuralPartialEq for ScrapTransaction
Auto Trait Implementations§
impl Freeze for ScrapTransaction
impl RefUnwindSafe for ScrapTransaction
impl Send for ScrapTransaction
impl Sync for ScrapTransaction
impl Unpin for ScrapTransaction
impl UnwindSafe for ScrapTransaction
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