pub struct Gear {
pub id: u64,
pub make: Option<String>,
pub model: Option<String>,
pub description: Option<String>,
pub exclude_from_totals: Option<bool>,
pub created_at: Option<String>,
}Expand description
Gear/equipment used for a trip
Fields§
§id: u64Gear ID
make: Option<String>Make/brand
model: Option<String>Model
description: Option<String>Description
exclude_from_totals: Option<bool>Whether to exclude from totals
created_at: Option<String>Created timestamp
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Gear
impl<'de> Deserialize<'de> for Gear
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
Auto Trait Implementations§
impl Freeze for Gear
impl RefUnwindSafe for Gear
impl Send for Gear
impl Sync for Gear
impl Unpin for Gear
impl UnwindSafe for Gear
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