pub struct LocationOutput {
pub id: i32,
pub warehouse_id: i32,
pub code: String,
pub location_type: String,
pub zone: Option<String>,
pub aisle: Option<String>,
pub rack: Option<String>,
pub bin: Option<String>,
pub is_active: bool,
pub is_pickable: bool,
pub is_receivable: bool,
}Fields§
§id: i32§warehouse_id: i32§code: String§location_type: String§zone: Option<String>§aisle: Option<String>§rack: Option<String>§bin: Option<String>§is_active: bool§is_pickable: bool§is_receivable: boolTrait Implementations§
Source§impl Clone for LocationOutput
impl Clone for LocationOutput
Source§fn clone(&self) -> LocationOutput
fn clone(&self) -> LocationOutput
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 LocationOutput
impl<'de> Deserialize<'de> for LocationOutput
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<Location> for LocationOutput
impl From<Location> for LocationOutput
Source§impl FromNapiValue for LocationOutput
impl FromNapiValue for LocationOutput
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 LocationOutput
impl Serialize for LocationOutput
Source§impl ToNapiValue for LocationOutput
impl ToNapiValue for LocationOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: LocationOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: LocationOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for LocationOutput
impl TypeName for LocationOutput
Source§impl ValidateNapiValue for LocationOutput
impl ValidateNapiValue for LocationOutput
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 LocationOutput
impl RefUnwindSafe for LocationOutput
impl Send for LocationOutput
impl Sync for LocationOutput
impl Unpin for LocationOutput
impl UnsafeUnpin for LocationOutput
impl UnwindSafe for LocationOutput
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