pub struct ShipmentOutput {Show 13 fields
pub id: String,
pub shipment_number: String,
pub order_id: String,
pub status: String,
pub carrier: String,
pub shipping_method: String,
pub tracking_number: Option<String>,
pub tracking_url: Option<String>,
pub recipient_name: String,
pub shipping_address: String,
pub version: i32,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§shipment_number: String§order_id: String§status: String§carrier: String§shipping_method: String§tracking_number: Option<String>§tracking_url: Option<String>§recipient_name: String§shipping_address: String§version: i32§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for ShipmentOutput
impl Clone for ShipmentOutput
Source§fn clone(&self) -> ShipmentOutput
fn clone(&self) -> ShipmentOutput
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 ShipmentOutput
impl<'de> Deserialize<'de> for ShipmentOutput
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<Shipment> for ShipmentOutput
impl From<Shipment> for ShipmentOutput
Source§impl FromNapiValue for ShipmentOutput
impl FromNapiValue for ShipmentOutput
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 ShipmentOutput
impl Serialize for ShipmentOutput
Source§impl ToNapiValue for ShipmentOutput
impl ToNapiValue for ShipmentOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: ShipmentOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: ShipmentOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for ShipmentOutput
impl TypeName for ShipmentOutput
Source§impl ValidateNapiValue for ShipmentOutput
impl ValidateNapiValue for ShipmentOutput
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 ShipmentOutput
impl RefUnwindSafe for ShipmentOutput
impl Send for ShipmentOutput
impl Sync for ShipmentOutput
impl Unpin for ShipmentOutput
impl UnsafeUnpin for ShipmentOutput
impl UnwindSafe for ShipmentOutput
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