pub struct Fulfillment { /* private fields */ }Implementations§
Source§impl Fulfillment
impl Fulfillment
pub fn create_wave( &self, warehouse_id: i32, order_ids: Vec<String>, priority: i32, ) -> PhpResult<String>
pub fn get_wave(&self, id: String) -> PhpResult<Option<String>>
pub fn release_wave(&self, id: String) -> PhpResult<bool>
pub fn complete_wave(&self, id: String) -> PhpResult<bool>
Trait Implementations§
Source§impl Clone for Fulfillment
impl Clone for Fulfillment
Source§fn clone(&self) -> Fulfillment
fn clone(&self) -> Fulfillment
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<'a> FromZendObject<'a> for &'a Fulfillment
impl<'a> FromZendObject<'a> for &'a Fulfillment
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 Fulfillment
impl<'a> FromZendObjectMut<'a> for &'a mut Fulfillment
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> FromZval<'a> for &'a Fulfillment
impl<'a> FromZval<'a> for &'a Fulfillment
Source§impl<'a> FromZvalMut<'a> for &'a mut Fulfillment
impl<'a> FromZvalMut<'a> for &'a mut Fulfillment
Source§impl IntoZendObject for Fulfillment
impl IntoZendObject for Fulfillment
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 Fulfillment
impl IntoZval for Fulfillment
Source§impl RegisteredClass for Fulfillment
impl RegisteredClass for Fulfillment
Source§const CLASS_NAME: &'static str = "StateSet\\Fulfillment"
const CLASS_NAME: &'static str = "StateSet\\Fulfillment"
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 Fulfillment
impl RefUnwindSafe for Fulfillment
impl Send for Fulfillment
impl Sync for Fulfillment
impl Unpin for Fulfillment
impl UnsafeUnpin for Fulfillment
impl UnwindSafe for Fulfillment
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