pub struct PortalFlowsSubscriptionUpdateConfirmItem {
pub id: Option<String>,
pub price: Option<String>,
pub quantity: Option<u64>,
}
Fields§
§id: Option<String>
The ID of the subscription item to be updated.
price: Option<String>
The price the customer should subscribe to through this flow.
The price must also be included in the configuration’s features.subscription_update.products
.
quantity: Option<u64>
Quantity for this item that the customer should subscribe to through this flow.
Trait Implementations§
source§impl Clone for PortalFlowsSubscriptionUpdateConfirmItem
impl Clone for PortalFlowsSubscriptionUpdateConfirmItem
source§fn clone(&self) -> PortalFlowsSubscriptionUpdateConfirmItem
fn clone(&self) -> PortalFlowsSubscriptionUpdateConfirmItem
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 PortalFlowsSubscriptionUpdateConfirmItem
impl Default for PortalFlowsSubscriptionUpdateConfirmItem
source§fn default() -> PortalFlowsSubscriptionUpdateConfirmItem
fn default() -> PortalFlowsSubscriptionUpdateConfirmItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PortalFlowsSubscriptionUpdateConfirmItem
impl<'de> Deserialize<'de> for PortalFlowsSubscriptionUpdateConfirmItem
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 PortalFlowsSubscriptionUpdateConfirmItem
impl RefUnwindSafe for PortalFlowsSubscriptionUpdateConfirmItem
impl Send for PortalFlowsSubscriptionUpdateConfirmItem
impl Sync for PortalFlowsSubscriptionUpdateConfirmItem
impl Unpin for PortalFlowsSubscriptionUpdateConfirmItem
impl UnwindSafe for PortalFlowsSubscriptionUpdateConfirmItem
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