pub struct TransferringShipStatus {
pub started_at: DateTime<Utc>,
pub transfer_time: u64,
pub from_market_id: u64,
pub to_market_id: u64,
}
Expand description
Information about the current transfer status.
Fields§
§started_at: DateTime<Utc>
The timestamp when the transfer was initiated.
transfer_time: u64
The total transfer time duration in seconds.
from_market_id: u64
The market id the ship is transferred from.
to_market_id: u64
The market id the ship is transferred to.
Implementations§
Source§impl TransferringShipStatus
impl TransferringShipStatus
pub fn completed_at(&self) -> DateTime<Utc>
pub fn done_transferring(&self, timestamp: &DateTime<Utc>) -> bool
Trait Implementations§
Source§impl Debug for TransferringShipStatus
impl Debug for TransferringShipStatus
Auto Trait Implementations§
impl Freeze for TransferringShipStatus
impl RefUnwindSafe for TransferringShipStatus
impl Send for TransferringShipStatus
impl Sync for TransferringShipStatus
impl Unpin for TransferringShipStatus
impl UnwindSafe for TransferringShipStatus
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