pub struct SubscriptionRef {
pub external_id: String,
pub provider: String,
pub status: String,
pub tier_slug: String,
}Expand description
External subscription reference.
JSON schema
{
"description": "External subscription reference.",
"type": "object",
"required": [
"external_id",
"provider",
"status",
"tier_slug"
],
"properties": {
"external_id": {
"type": "string"
},
"provider": {
"type": "string"
},
"status": {
"type": "string"
},
"tier_slug": {
"type": "string"
}
}
}Fields§
§external_id: String§provider: String§status: String§tier_slug: StringTrait Implementations§
Source§impl Clone for SubscriptionRef
impl Clone for SubscriptionRef
Source§fn clone(&self) -> SubscriptionRef
fn clone(&self) -> SubscriptionRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubscriptionRef
impl Debug for SubscriptionRef
Source§impl<'de> Deserialize<'de> for SubscriptionRef
impl<'de> Deserialize<'de> for SubscriptionRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SubscriptionRef
impl RefUnwindSafe for SubscriptionRef
impl Send for SubscriptionRef
impl Sync for SubscriptionRef
impl Unpin for SubscriptionRef
impl UnsafeUnpin for SubscriptionRef
impl UnwindSafe for SubscriptionRef
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