pub struct Receiving { /* private fields */ }Implementations§
Source§impl Receiving
impl Receiving
pub fn create_receipt( &self, receipt_type: String, warehouse_id: i32, po_id: Option<String>, ) -> PhpResult<String>
pub fn get_receipt(&self, id: String) -> PhpResult<Option<String>>
pub fn list_receipts(&self) -> PhpResult<Vec<String>>
pub fn complete_receipt(&self, id: String) -> PhpResult<bool>
Trait Implementations§
Source§impl<'a> FromZendObject<'a> for &'a Receiving
impl<'a> FromZendObject<'a> for &'a Receiving
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 Receiving
impl<'a> FromZendObjectMut<'a> for &'a mut Receiving
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 Receiving
impl<'a> FromZvalMut<'a> for &'a mut Receiving
Source§impl IntoZendObject for Receiving
impl IntoZendObject for Receiving
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 Receiving
impl IntoZval for Receiving
Source§impl RegisteredClass for Receiving
impl RegisteredClass for Receiving
Source§const CLASS_NAME: &'static str = "StateSet\\Receiving"
const CLASS_NAME: &'static str = "StateSet\\Receiving"
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 Receiving
impl RefUnwindSafe for Receiving
impl Send for Receiving
impl Sync for Receiving
impl Unpin for Receiving
impl UnsafeUnpin for Receiving
impl UnwindSafe for Receiving
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