pub struct CompleteInspection {
pub quantity_passed: Decimal,
pub quantity_failed: Decimal,
pub inspector_id: Option<String>,
pub notes: Option<String>,
}Expand description
Input for completing an inspection
Fields§
§quantity_passed: Decimal§quantity_failed: Decimal§inspector_id: Option<String>§notes: Option<String>Trait Implementations§
Source§impl Clone for CompleteInspection
impl Clone for CompleteInspection
Source§fn clone(&self) -> CompleteInspection
fn clone(&self) -> CompleteInspection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompleteInspection
impl Debug for CompleteInspection
Source§impl Default for CompleteInspection
impl Default for CompleteInspection
Source§fn default() -> CompleteInspection
fn default() -> CompleteInspection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompleteInspection
impl<'de> Deserialize<'de> for CompleteInspection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CompleteInspection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CompleteInspection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CompleteInspection
Source§impl PartialEq for CompleteInspection
impl PartialEq for CompleteInspection
Source§impl Serialize for CompleteInspection
impl Serialize for CompleteInspection
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CompleteInspection
Auto Trait Implementations§
impl Freeze for CompleteInspection
impl RefUnwindSafe for CompleteInspection
impl Send for CompleteInspection
impl Sync for CompleteInspection
impl Unpin for CompleteInspection
impl UnsafeUnpin for CompleteInspection
impl UnwindSafe for CompleteInspection
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