pub struct ViewLot {Show 25 fields
pub id: i32,
pub created_by: Option<i32>,
pub storage: String,
pub clone_id: i32,
pub provider_id: Option<i32>,
pub name: String,
pub reference: Option<String>,
pub requested_by: Option<i32>,
pub approved_by: Option<i32>,
pub ordered_by: Option<i32>,
pub received_by: Option<i32>,
pub finished_by: Option<i32>,
pub status: Option<i16>,
pub purpose: Option<String>,
pub number: Option<String>,
pub url: Option<String>,
pub price: Option<String>,
pub note: Option<String>,
pub requested_at: Option<DateTime<Utc>>,
pub ordered_at: Option<DateTime<Utc>>,
pub received_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
pub clone: ViewClone,
pub validations: Vec<Validation>,
pub provider: Option<Provider>,
}Fields§
§id: i32§created_by: Option<i32>§storage: String§clone_id: i32§provider_id: Option<i32>§name: String§reference: Option<String>§requested_by: Option<i32>§approved_by: Option<i32>§ordered_by: Option<i32>§received_by: Option<i32>§finished_by: Option<i32>§status: Option<i16>§purpose: Option<String>§number: Option<String>§url: Option<String>§price: Option<String>§note: Option<String>§requested_at: Option<DateTime<Utc>>§ordered_at: Option<DateTime<Utc>>§received_at: Option<DateTime<Utc>>§finished_at: Option<DateTime<Utc>>§clone: ViewClone§validations: Vec<Validation>§provider: Option<Provider>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewLot
impl<'de> Deserialize<'de> for ViewLot
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 ViewLot
impl RefUnwindSafe for ViewLot
impl Send for ViewLot
impl Sync for ViewLot
impl Unpin for ViewLot
impl UnwindSafe for ViewLot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more