pub struct PortalSessionRequest {
pub customer_ref: String,
pub return_url: String,
pub idempotency_key: String,
}Expand description
A hosted customer-portal session (issue #589): the page where a customer
changes plan, updates the payment method, reads invoices and cancels.
customer_ref is the provider customer the adapter is configured to name
(a provider id, or the venture’s own id where the adapter maps it).
Fields§
§customer_ref: String§return_url: StringWhere the portal’s back link returns to.
idempotency_key: StringTrait Implementations§
Source§impl Clone for PortalSessionRequest
impl Clone for PortalSessionRequest
Auto Trait Implementations§
impl Freeze for PortalSessionRequest
impl RefUnwindSafe for PortalSessionRequest
impl Send for PortalSessionRequest
impl Sync for PortalSessionRequest
impl Unpin for PortalSessionRequest
impl UnsafeUnpin for PortalSessionRequest
impl UnwindSafe for PortalSessionRequest
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