pub struct MarketplaceListingPlan {Show 13 fields
pub url: String,
pub accounts_url: String,
pub id: i32,
pub number: i32,
pub name: String,
pub description: String,
pub monthly_price_in_cents: i32,
pub yearly_price_in_cents: i32,
pub price_model: PriceModel,
pub has_free_trial: bool,
pub unit_name: Option<String>,
pub state: String,
pub bullets: Vec<String>,
}Expand description
MarketplaceListingPlan : Marketplace Listing Plan
Fields§
§url: String§accounts_url: String§id: i32§number: i32§name: String§description: String§monthly_price_in_cents: i32§yearly_price_in_cents: i32§price_model: PriceModel§has_free_trial: bool§unit_name: Option<String>§state: String§bullets: Vec<String>Implementations§
Source§impl MarketplaceListingPlan
impl MarketplaceListingPlan
Sourcepub fn new(
url: String,
accounts_url: String,
id: i32,
number: i32,
name: String,
description: String,
monthly_price_in_cents: i32,
yearly_price_in_cents: i32,
price_model: PriceModel,
has_free_trial: bool,
unit_name: Option<String>,
state: String,
bullets: Vec<String>,
) -> MarketplaceListingPlan
pub fn new( url: String, accounts_url: String, id: i32, number: i32, name: String, description: String, monthly_price_in_cents: i32, yearly_price_in_cents: i32, price_model: PriceModel, has_free_trial: bool, unit_name: Option<String>, state: String, bullets: Vec<String>, ) -> MarketplaceListingPlan
Marketplace Listing Plan
Trait Implementations§
Source§impl Clone for MarketplaceListingPlan
impl Clone for MarketplaceListingPlan
Source§fn clone(&self) -> MarketplaceListingPlan
fn clone(&self) -> MarketplaceListingPlan
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 Debug for MarketplaceListingPlan
impl Debug for MarketplaceListingPlan
Source§impl Default for MarketplaceListingPlan
impl Default for MarketplaceListingPlan
Source§fn default() -> MarketplaceListingPlan
fn default() -> MarketplaceListingPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MarketplaceListingPlan
impl<'de> Deserialize<'de> for MarketplaceListingPlan
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 MarketplaceListingPlan
impl PartialEq for MarketplaceListingPlan
Source§impl Serialize for MarketplaceListingPlan
impl Serialize for MarketplaceListingPlan
impl StructuralPartialEq for MarketplaceListingPlan
Auto Trait Implementations§
impl Freeze for MarketplaceListingPlan
impl RefUnwindSafe for MarketplaceListingPlan
impl Send for MarketplaceListingPlan
impl Sync for MarketplaceListingPlan
impl Unpin for MarketplaceListingPlan
impl UnwindSafe for MarketplaceListingPlan
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