pub struct Subscription { /* private fields */ }Implementations§
Source§impl Subscription
impl Subscription
pub fn get_id(&self) -> String
pub fn get_plan_id(&self) -> String
pub fn get_customer_id(&self) -> String
pub fn get_status(&self) -> String
pub fn get_current_period_start(&self) -> String
pub fn get_current_period_end(&self) -> String
pub fn get_canceled_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 Clone for Subscription
impl Clone for Subscription
Source§fn clone(&self) -> Subscription
fn clone(&self) -> Subscription
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<Subscription> for Subscription
impl From<Subscription> for Subscription
Source§fn from(s: Subscription) -> Self
fn from(s: Subscription) -> Self
Converts to this type from the input type.
Source§impl<'a> FromZendObject<'a> for &'a Subscription
impl<'a> FromZendObject<'a> for &'a Subscription
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 Subscription
impl<'a> FromZendObjectMut<'a> for &'a mut Subscription
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 Subscription
impl<'a> FromZval<'a> for &'a Subscription
Source§impl<'a> FromZvalMut<'a> for &'a mut Subscription
impl<'a> FromZvalMut<'a> for &'a mut Subscription
Source§impl IntoZendObject for Subscription
impl IntoZendObject for Subscription
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 Subscription
impl IntoZval for Subscription
Source§impl RegisteredClass for Subscription
impl RegisteredClass for Subscription
Source§const CLASS_NAME: &'static str = "StateSet\\Subscription"
const CLASS_NAME: &'static str = "StateSet\\Subscription"
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 Subscription
impl RefUnwindSafe for Subscription
impl Send for Subscription
impl Sync for Subscription
impl Unpin for Subscription
impl UnsafeUnpin for Subscription
impl UnwindSafe for Subscription
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