Struct stripe::PortalSubscriptionUpdateProduct
source · pub struct PortalSubscriptionUpdateProduct {
pub prices: Vec<String>,
pub product: String,
}
Fields§
§prices: Vec<String>
The list of price IDs which, when subscribed to, a subscription can be updated.
product: String
The product ID.
Trait Implementations§
source§impl Clone for PortalSubscriptionUpdateProduct
impl Clone for PortalSubscriptionUpdateProduct
source§fn clone(&self) -> PortalSubscriptionUpdateProduct
fn clone(&self) -> PortalSubscriptionUpdateProduct
Returns a copy 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 PortalSubscriptionUpdateProduct
impl Default for PortalSubscriptionUpdateProduct
source§fn default() -> PortalSubscriptionUpdateProduct
fn default() -> PortalSubscriptionUpdateProduct
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PortalSubscriptionUpdateProduct
impl<'de> Deserialize<'de> for PortalSubscriptionUpdateProduct
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