pub struct ConnectEmbeddedPaymentsFeatures {
pub capture_payments: bool,
pub dispute_management: bool,
pub refund_management: bool,
}Expand description
Fields§
§capture_payments: boolWhether to allow capturing and cancelling payment intents. This is true by default.
dispute_management: boolWhether to allow responding to disputes, including submitting evidence and accepting disputes. This is true by default.
refund_management: boolWhether to allow sending refunds. This is true by default.
Trait Implementations§
Source§impl Clone for ConnectEmbeddedPaymentsFeatures
impl Clone for ConnectEmbeddedPaymentsFeatures
Source§fn clone(&self) -> ConnectEmbeddedPaymentsFeatures
fn clone(&self) -> ConnectEmbeddedPaymentsFeatures
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 Default for ConnectEmbeddedPaymentsFeatures
impl Default for ConnectEmbeddedPaymentsFeatures
Source§fn default() -> ConnectEmbeddedPaymentsFeatures
fn default() -> ConnectEmbeddedPaymentsFeatures
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConnectEmbeddedPaymentsFeatures
impl<'de> Deserialize<'de> for ConnectEmbeddedPaymentsFeatures
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 ConnectEmbeddedPaymentsFeatures
impl RefUnwindSafe for ConnectEmbeddedPaymentsFeatures
impl Send for ConnectEmbeddedPaymentsFeatures
impl Sync for ConnectEmbeddedPaymentsFeatures
impl Unpin for ConnectEmbeddedPaymentsFeatures
impl UnwindSafe for ConnectEmbeddedPaymentsFeatures
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