pub struct WebhooksMarketplacePurchasePlan {
pub bullets: Vec<String>,
pub description: String,
pub has_free_trial: bool,
pub id: i32,
pub monthly_price_in_cents: i32,
pub name: String,
pub price_model: PriceModel,
pub unit_name: Option<String>,
pub yearly_price_in_cents: i32,
}
Fields§
§bullets: Vec<String>
§description: String
§has_free_trial: bool
§id: i32
§monthly_price_in_cents: i32
§name: String
§price_model: PriceModel
§unit_name: Option<String>
§yearly_price_in_cents: i32
Implementations§
Trait Implementations§
Source§impl Clone for WebhooksMarketplacePurchasePlan
impl Clone for WebhooksMarketplacePurchasePlan
Source§fn clone(&self) -> WebhooksMarketplacePurchasePlan
fn clone(&self) -> WebhooksMarketplacePurchasePlan
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 Default for WebhooksMarketplacePurchasePlan
impl Default for WebhooksMarketplacePurchasePlan
Source§fn default() -> WebhooksMarketplacePurchasePlan
fn default() -> WebhooksMarketplacePurchasePlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksMarketplacePurchasePlan
impl<'de> Deserialize<'de> for WebhooksMarketplacePurchasePlan
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
Source§impl PartialEq for WebhooksMarketplacePurchasePlan
impl PartialEq for WebhooksMarketplacePurchasePlan
Source§fn eq(&self, other: &WebhooksMarketplacePurchasePlan) -> bool
fn eq(&self, other: &WebhooksMarketplacePurchasePlan) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhooksMarketplacePurchasePlan
Auto Trait Implementations§
impl Freeze for WebhooksMarketplacePurchasePlan
impl RefUnwindSafe for WebhooksMarketplacePurchasePlan
impl Send for WebhooksMarketplacePurchasePlan
impl Sync for WebhooksMarketplacePurchasePlan
impl Unpin for WebhooksMarketplacePurchasePlan
impl UnwindSafe for WebhooksMarketplacePurchasePlan
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