pub struct VehicleAttributes {
pub id: String,
pub make: String,
pub model: String,
pub year: i32,
}Expand description
Identifying information about a vehicle
This is the struct representation for the response body of
GET https://api.smartcar.com/v2.0/vehicles/{id}
Fields§
§id: String§make: String§model: String§year: i32Trait Implementations§
Source§impl Debug for VehicleAttributes
impl Debug for VehicleAttributes
Source§impl<'de> Deserialize<'de> for VehicleAttributes
impl<'de> Deserialize<'de> for VehicleAttributes
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 VehicleAttributes
impl RefUnwindSafe for VehicleAttributes
impl Send for VehicleAttributes
impl Sync for VehicleAttributes
impl Unpin for VehicleAttributes
impl UnwindSafe for VehicleAttributes
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