pub struct UpdateNonConformance {
pub status: Option<NcrStatus>,
pub severity: Option<Severity>,
pub root_cause: Option<String>,
pub corrective_action: Option<String>,
pub preventive_action: Option<String>,
pub disposition: Option<Disposition>,
pub disposition_quantity: Option<Decimal>,
pub assigned_to: Option<String>,
}Expand description
Input for updating an NCR
Fields§
§status: Option<NcrStatus>§severity: Option<Severity>§root_cause: Option<String>§corrective_action: Option<String>§preventive_action: Option<String>§disposition: Option<Disposition>§disposition_quantity: Option<Decimal>§assigned_to: Option<String>Trait Implementations§
Source§impl Clone for UpdateNonConformance
impl Clone for UpdateNonConformance
Source§fn clone(&self) -> UpdateNonConformance
fn clone(&self) -> UpdateNonConformance
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 UpdateNonConformance
impl Debug for UpdateNonConformance
Source§impl Default for UpdateNonConformance
impl Default for UpdateNonConformance
Source§fn default() -> UpdateNonConformance
fn default() -> UpdateNonConformance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateNonConformance
impl<'de> Deserialize<'de> for UpdateNonConformance
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateNonConformance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateNonConformance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UpdateNonConformance
Source§impl PartialEq for UpdateNonConformance
impl PartialEq for UpdateNonConformance
Source§impl Serialize for UpdateNonConformance
impl Serialize for UpdateNonConformance
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 UpdateNonConformance
Auto Trait Implementations§
impl Freeze for UpdateNonConformance
impl RefUnwindSafe for UpdateNonConformance
impl Send for UpdateNonConformance
impl Sync for UpdateNonConformance
impl Unpin for UpdateNonConformance
impl UnsafeUnpin for UpdateNonConformance
impl UnwindSafe for UpdateNonConformance
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