pub struct GetOrganizationPaymentMethodResponse {
pub card_on_file: bool,
pub payment_method: Option<PaymentMethod>,
}Fields§
§card_on_file: boolTrue once a card is captured for the payer.
payment_method: Option<PaymentMethod>Metadata for the default card, or null.
Implementations§
Source§impl GetOrganizationPaymentMethodResponse
impl GetOrganizationPaymentMethodResponse
pub fn serialize<__S>(
__self: &GetOrganizationPaymentMethodResponse,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> GetOrganizationPaymentMethodResponse
impl<'de> GetOrganizationPaymentMethodResponse
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetOrganizationPaymentMethodResponse, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetOrganizationPaymentMethodResponse
impl<'de> Deserialize<'de> for GetOrganizationPaymentMethodResponse
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 GetOrganizationPaymentMethodResponse
impl RefUnwindSafe for GetOrganizationPaymentMethodResponse
impl Send for GetOrganizationPaymentMethodResponse
impl Sync for GetOrganizationPaymentMethodResponse
impl Unpin for GetOrganizationPaymentMethodResponse
impl UnsafeUnpin for GetOrganizationPaymentMethodResponse
impl UnwindSafe for GetOrganizationPaymentMethodResponse
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