Struct ramp_api::types::CardProgram [−][src]
pub struct CardProgram {
pub description: String,
pub display_name: String,
pub icon: Option<Icon>,
pub id: String,
pub is_default: bool,
pub is_physical: bool,
pub spending_restrictions: Option<SpendingRestrictions>,
}
Expand description
Card Program data that serves as a template for creating new cards.
Fields
description: String
Card Program data that serves as a template for creating new cards.
display_name: String
Card Program data that serves as a template for creating new cards.
icon: Option<Icon>
Card Program data that serves as a template for creating new cards.
id: String
Card Program data that serves as a template for creating new cards.
is_default: bool
Card Program data that serves as a template for creating new cards.
is_physical: bool
Card Program data that serves as a template for creating new cards.
spending_restrictions: Option<SpendingRestrictions>
Card Program data that serves as a template for creating new cards.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CardProgram
impl Send for CardProgram
impl Sync for CardProgram
impl Unpin for CardProgram
impl UnwindSafe for CardProgram
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more