Struct ramp_api::types::PostResourcesCardProgramRequest
source · pub struct PostResourcesCardProgramRequest {
pub description: String,
pub display_name: String,
pub icon: Icon,
pub is_default: Option<bool>,
pub is_physical: Option<bool>,
pub spending_restrictions: SpendingRestrictions,
}Fields
description: StringThe OAuth2 token header
display_name: StringThe OAuth2 token header
icon: Iconis_default: Option<bool>is_physical: Option<bool>spending_restrictions: SpendingRestrictionsSpecifies the spend restrictions on a Ramp card.
Trait Implementations
sourceimpl Clone for PostResourcesCardProgramRequest
impl Clone for PostResourcesCardProgramRequest
sourcefn clone(&self) -> PostResourcesCardProgramRequest
fn clone(&self) -> PostResourcesCardProgramRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'de> Deserialize<'de> for PostResourcesCardProgramRequest
impl<'de> Deserialize<'de> for PostResourcesCardProgramRequest
sourcefn 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
sourceimpl JsonSchema for PostResourcesCardProgramRequest
impl JsonSchema for PostResourcesCardProgramRequest
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresourceimpl PartialEq<PostResourcesCardProgramRequest> for PostResourcesCardProgramRequest
impl PartialEq<PostResourcesCardProgramRequest> for PostResourcesCardProgramRequest
sourcefn eq(&self, other: &PostResourcesCardProgramRequest) -> bool
fn eq(&self, other: &PostResourcesCardProgramRequest) -> bool
impl StructuralPartialEq for PostResourcesCardProgramRequest
Auto Trait Implementations
impl RefUnwindSafe for PostResourcesCardProgramRequest
impl Send for PostResourcesCardProgramRequest
impl Sync for PostResourcesCardProgramRequest
impl Unpin for PostResourcesCardProgramRequest
impl UnwindSafe for PostResourcesCardProgramRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more