pub struct Cargo {
pub timestamp: DateTime<Utc>,
pub event: String,
pub vessel: CargoEventVessel,
pub count: u16,
pub inventory: Vec<CargoEntry>,
}
Fields§
§timestamp: DateTime<Utc>
§event: String
§vessel: CargoEventVessel
§count: u16
§inventory: Vec<CargoEntry>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cargo
impl<'de> Deserialize<'de> for Cargo
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
impl StructuralPartialEq for Cargo
Auto Trait Implementations§
impl Freeze for Cargo
impl RefUnwindSafe for Cargo
impl Send for Cargo
impl Sync for Cargo
impl Unpin for Cargo
impl UnwindSafe for Cargo
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