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