pub struct Shipment { /* private fields */ }Implementations§
Source§impl Shipment
impl Shipment
pub fn get_id(&self) -> String
pub fn get_order_id(&self) -> String
pub fn get_tracking_number(&self) -> Option<String>
pub fn get_carrier(&self) -> Option<String>
pub fn get_status(&self) -> String
pub fn get_shipped_at(&self) -> Option<String>
pub fn get_delivered_at(&self) -> Option<String>
pub fn get_created_at(&self) -> String
pub fn get_updated_at(&self) -> String
pub fn __to_string(&self) -> String
Trait Implementations§
Source§impl<'a> FromZendObject<'a> for &'a Shipment
impl<'a> FromZendObject<'a> for &'a Shipment
Source§fn from_zend_object(obj: &'a ZendObject) -> Result<Self>
fn from_zend_object(obj: &'a ZendObject) -> Result<Self>
Extracts
Self from the source ZendObject.Source§impl<'a> FromZendObjectMut<'a> for &'a mut Shipment
impl<'a> FromZendObjectMut<'a> for &'a mut Shipment
Source§fn from_zend_object_mut(obj: &'a mut ZendObject) -> Result<Self>
fn from_zend_object_mut(obj: &'a mut ZendObject) -> Result<Self>
Extracts
Self from the source ZendObject.Source§impl<'a> FromZvalMut<'a> for &'a mut Shipment
impl<'a> FromZvalMut<'a> for &'a mut Shipment
Source§impl IntoZendObject for Shipment
impl IntoZendObject for Shipment
Source§fn into_zend_object(self) -> Result<ZBox<ZendObject>>
fn into_zend_object(self) -> Result<ZBox<ZendObject>>
Attempts to convert
self into a Zend object.Source§impl IntoZval for Shipment
impl IntoZval for Shipment
Source§impl RegisteredClass for Shipment
impl RegisteredClass for Shipment
Source§const CLASS_NAME: &'static str = "StateSet\\Shipment"
const CLASS_NAME: &'static str = "StateSet\\Shipment"
PHP class name of the registered class.
Source§const CONSTRUCTOR: Option<ConstructorMeta<Self>> = None
const CONSTRUCTOR: Option<ConstructorMeta<Self>> = None
Optional class constructor.
Source§fn get_metadata() -> &'static ClassMetadata<Self>
fn get_metadata() -> &'static ClassMetadata<Self>
Returns a reference to the class metadata, which stores the class entry
and handlers. Read more
Auto Trait Implementations§
impl Freeze for Shipment
impl RefUnwindSafe for Shipment
impl Send for Shipment
impl Sync for Shipment
impl Unpin for Shipment
impl UnsafeUnpin for Shipment
impl UnwindSafe for Shipment
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