pub struct ShipyardTransaction {
pub waypoint_symbol: String,
pub ship_symbol: String,
pub price: u32,
pub agent_symbol: String,
pub timestamp: String,
}Expand description
Results of a transaction with a shipyard.
Fields§
§waypoint_symbol: StringThe symbol of the waypoint where the transaction took place.
ship_symbol: StringThe symbol of the ship that was the subject of the transaction.
price: u32The price of the transaction.
agent_symbol: StringThe symbol of the agent that made the transaction.
timestamp: StringThe timestamp of the transaction.
Implementations§
Trait Implementations§
Source§impl Clone for ShipyardTransaction
impl Clone for ShipyardTransaction
Source§fn clone(&self) -> ShipyardTransaction
fn clone(&self) -> ShipyardTransaction
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 ShipyardTransaction
impl Debug for ShipyardTransaction
Source§impl<'de> Deserialize<'de> for ShipyardTransaction
impl<'de> Deserialize<'de> for ShipyardTransaction
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 ShipyardTransaction
impl PartialEq for ShipyardTransaction
Source§impl Serialize for ShipyardTransaction
impl Serialize for ShipyardTransaction
impl StructuralPartialEq for ShipyardTransaction
Auto Trait Implementations§
impl Freeze for ShipyardTransaction
impl RefUnwindSafe for ShipyardTransaction
impl Send for ShipyardTransaction
impl Sync for ShipyardTransaction
impl Unpin for ShipyardTransaction
impl UnwindSafe for ShipyardTransaction
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