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