pub struct InspectionOutput {
pub id: String,
pub inspection_number: String,
pub inspection_type: String,
pub reference_type: String,
pub reference_id: String,
pub status: String,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§inspection_number: String§inspection_type: String§reference_type: String§reference_id: String§status: String§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for InspectionOutput
impl Clone for InspectionOutput
Source§fn clone(&self) -> InspectionOutput
fn clone(&self) -> InspectionOutput
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<'de> Deserialize<'de> for InspectionOutput
impl<'de> Deserialize<'de> for InspectionOutput
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 From<Inspection> for InspectionOutput
impl From<Inspection> for InspectionOutput
Source§fn from(i: Inspection) -> Self
fn from(i: Inspection) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for InspectionOutput
impl FromNapiValue for InspectionOutput
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl Serialize for InspectionOutput
impl Serialize for InspectionOutput
Source§impl ToNapiValue for InspectionOutput
impl ToNapiValue for InspectionOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: InspectionOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: InspectionOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for InspectionOutput
impl TypeName for InspectionOutput
Source§impl ValidateNapiValue for InspectionOutput
impl ValidateNapiValue for InspectionOutput
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for InspectionOutput
impl RefUnwindSafe for InspectionOutput
impl Send for InspectionOutput
impl Sync for InspectionOutput
impl Unpin for InspectionOutput
impl UnsafeUnpin for InspectionOutput
impl UnwindSafe for InspectionOutput
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