pub struct ContinuousServiceUsagePatchRequest {
pub id: String,
pub status: String,
pub parking_image: Option<Vec<u8>>,
pub tip: Option<Box<Tip>>,
}Expand description
ContinuousServiceUsagePatchRequest : Usage of a continuos service vehicle
Fields§
§id: String§status: Stringstatus of the usage of a vehicle
parking_image: Option<Vec<u8>>base64 encoded binary of the jpg image of the parked vehicle when ending the usage.
tip: Option<Box<Tip>>Implementations§
Source§impl ContinuousServiceUsagePatchRequest
impl ContinuousServiceUsagePatchRequest
Sourcepub fn new(id: String, status: String) -> ContinuousServiceUsagePatchRequest
pub fn new(id: String, status: String) -> ContinuousServiceUsagePatchRequest
Usage of a continuos service vehicle
Trait Implementations§
Source§impl Clone for ContinuousServiceUsagePatchRequest
impl Clone for ContinuousServiceUsagePatchRequest
Source§fn clone(&self) -> ContinuousServiceUsagePatchRequest
fn clone(&self) -> ContinuousServiceUsagePatchRequest
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 Default for ContinuousServiceUsagePatchRequest
impl Default for ContinuousServiceUsagePatchRequest
Source§fn default() -> ContinuousServiceUsagePatchRequest
fn default() -> ContinuousServiceUsagePatchRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContinuousServiceUsagePatchRequest
impl<'de> Deserialize<'de> for ContinuousServiceUsagePatchRequest
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 ContinuousServiceUsagePatchRequest
impl PartialEq for ContinuousServiceUsagePatchRequest
Source§fn eq(&self, other: &ContinuousServiceUsagePatchRequest) -> bool
fn eq(&self, other: &ContinuousServiceUsagePatchRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContinuousServiceUsagePatchRequest
Auto Trait Implementations§
impl Freeze for ContinuousServiceUsagePatchRequest
impl RefUnwindSafe for ContinuousServiceUsagePatchRequest
impl Send for ContinuousServiceUsagePatchRequest
impl Sync for ContinuousServiceUsagePatchRequest
impl Unpin for ContinuousServiceUsagePatchRequest
impl UnwindSafe for ContinuousServiceUsagePatchRequest
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