pub struct BomComponent { /* private fields */ }Implementations§
Source§impl BomComponent
impl BomComponent
pub fn get_id(&self) -> String
pub fn get_bom_id(&self) -> String
pub fn get_component_sku(&self) -> String
pub fn get_quantity(&self) -> i32
pub fn get_unit_cost(&self) -> f64
Trait Implementations§
Source§impl Clone for BomComponent
impl Clone for BomComponent
Source§fn clone(&self) -> BomComponent
fn clone(&self) -> BomComponent
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 From<BomComponent> for BomComponent
impl From<BomComponent> for BomComponent
Source§fn from(c: BomComponent) -> Self
fn from(c: BomComponent) -> Self
Converts to this type from the input type.
Source§impl<'a> FromZendObject<'a> for &'a BomComponent
impl<'a> FromZendObject<'a> for &'a BomComponent
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 BomComponent
impl<'a> FromZendObjectMut<'a> for &'a mut BomComponent
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 BomComponent
impl<'a> FromZval<'a> for &'a BomComponent
Source§impl<'a> FromZvalMut<'a> for &'a mut BomComponent
impl<'a> FromZvalMut<'a> for &'a mut BomComponent
Source§impl IntoZendObject for BomComponent
impl IntoZendObject for BomComponent
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 BomComponent
impl IntoZval for BomComponent
Source§impl RegisteredClass for BomComponent
impl RegisteredClass for BomComponent
Source§const CLASS_NAME: &'static str = "StateSet\\BomComponent"
const CLASS_NAME: &'static str = "StateSet\\BomComponent"
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 BomComponent
impl RefUnwindSafe for BomComponent
impl Send for BomComponent
impl Sync for BomComponent
impl Unpin for BomComponent
impl UnsafeUnpin for BomComponent
impl UnwindSafe for BomComponent
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