pub struct Customer { /* private fields */ }Implementations§
Source§impl Customer
impl Customer
pub fn get_id(&self) -> String
pub fn get_email(&self) -> String
pub fn get_first_name(&self) -> String
pub fn get_last_name(&self) -> String
pub fn get_phone(&self) -> Option<String>
pub fn get_status(&self) -> String
pub fn get_accepts_marketing(&self) -> bool
pub fn get_created_at(&self) -> String
pub fn get_updated_at(&self) -> String
pub fn get_full_name(&self) -> String
pub fn __to_string(&self) -> String
Trait Implementations§
Source§impl<'a> FromZendObject<'a> for &'a Customer
impl<'a> FromZendObject<'a> for &'a Customer
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 Customer
impl<'a> FromZendObjectMut<'a> for &'a mut Customer
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 Customer
impl<'a> FromZvalMut<'a> for &'a mut Customer
Source§impl IntoZendObject for Customer
impl IntoZendObject for Customer
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 Customer
impl IntoZval for Customer
Source§impl RegisteredClass for Customer
impl RegisteredClass for Customer
Source§const CLASS_NAME: &'static str = "StateSet\\Customer"
const CLASS_NAME: &'static str = "StateSet\\Customer"
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 Customer
impl RefUnwindSafe for Customer
impl Send for Customer
impl Sync for Customer
impl Unpin for Customer
impl UnsafeUnpin for Customer
impl UnwindSafe for Customer
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