Struct billecta::OrderCheckout
source · pub struct OrderCheckout {
pub creditor_public_id: Uuid,
pub checkout_public_id: Uuid,
pub action_public_id: Option<String>,
pub checkout_window_url: Option<String>,
pub success_url: Option<String>,
pub failure_url: Option<String>,
pub css_url: Option<String>,
pub allowed_payment_methods: Vec<OrderPaymentMethodType>,
pub status: OrderCheckoutStatusType,
pub created: DateTime,
pub language: LanguageType,
}
Fields§
§creditor_public_id: Uuid
§checkout_public_id: Uuid
§action_public_id: Option<String>
§checkout_window_url: Option<String>
§success_url: Option<String>
§failure_url: Option<String>
§css_url: Option<String>
§allowed_payment_methods: Vec<OrderPaymentMethodType>
§status: OrderCheckoutStatusType
§created: DateTime
§language: LanguageType
Implementations§
source§impl OrderCheckout
impl OrderCheckout
pub fn new( creditor_public_id: Uuid, checkout_public_id: Uuid, status: OrderCheckoutStatusType, created: DateTime, language: LanguageType, ) -> Self
Trait Implementations§
source§impl Clone for OrderCheckout
impl Clone for OrderCheckout
source§fn clone(&self) -> OrderCheckout
fn clone(&self) -> OrderCheckout
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 Debug for OrderCheckout
impl Debug for OrderCheckout
source§impl<'de> Deserialize<'de> for OrderCheckout
impl<'de> Deserialize<'de> for OrderCheckout
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 OrderCheckout
impl RefUnwindSafe for OrderCheckout
impl Send for OrderCheckout
impl Sync for OrderCheckout
impl Unpin for OrderCheckout
impl UnwindSafe for OrderCheckout
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)