pub struct SupplierOutput {
pub id: String,
pub name: String,
pub supplier_code: Option<String>,
pub email: Option<String>,
pub phone: Option<String>,
pub is_active: bool,
pub created_at: String,
}Fields§
§id: String§name: String§supplier_code: Option<String>§email: Option<String>§phone: Option<String>§is_active: bool§created_at: StringTrait Implementations§
Source§impl Clone for SupplierOutput
impl Clone for SupplierOutput
Source§fn clone(&self) -> SupplierOutput
fn clone(&self) -> SupplierOutput
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 SupplierOutput
impl<'de> Deserialize<'de> for SupplierOutput
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<Supplier> for SupplierOutput
impl From<Supplier> for SupplierOutput
Source§impl FromNapiValue for SupplierOutput
impl FromNapiValue for SupplierOutput
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 SupplierOutput
impl Serialize for SupplierOutput
Source§impl ToNapiValue for SupplierOutput
impl ToNapiValue for SupplierOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: SupplierOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: SupplierOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for SupplierOutput
impl TypeName for SupplierOutput
Source§impl ValidateNapiValue for SupplierOutput
impl ValidateNapiValue for SupplierOutput
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 SupplierOutput
impl RefUnwindSafe for SupplierOutput
impl Send for SupplierOutput
impl Sync for SupplierOutput
impl Unpin for SupplierOutput
impl UnsafeUnpin for SupplierOutput
impl UnwindSafe for SupplierOutput
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