pub struct Pass {
pub first_name: Option<String>,
pub date_end: Option<String>,
pub last_name: Option<String>,
pub car_model: Option<String>,
pub car_number: Option<String>,
pub office_name: Option<String>,
pub office_address: Option<String>,
pub office_id: Option<i64>,
pub id: Option<i64>,
}Expand description
Pass : Данные о пропуске продавца
Fields§
§first_name: Option<String>Имя водителя
date_end: Option<String>Дата окончания действия пропуска
last_name: Option<String>Фамилия водителя
car_model: Option<String>Марка машины
car_number: Option<String>Номер машины
office_name: Option<String>Название склада
office_address: Option<String>Адрес склада
office_id: Option<i64>ID склада
id: Option<i64>ID пропуска
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pass
impl<'de> Deserialize<'de> for Pass
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 Pass
Auto Trait Implementations§
impl Forget for Pass
impl Freeze for Pass
impl Move for Pass
impl RefUnwindSafe for Pass
impl Send for Passwhere
RawVecInner: Send,
impl Sync for Passwhere
RawVecInner: Sync,
impl Unpin for Pass
impl UnsafeUnpin for Pass
impl UnwindSafe for Passwhere
RawVecInner: UnwindSafe,
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