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