pub struct InstrumentSpec {
pub label: String,
pub kind: String,
pub account: String,
pub last4: Option<String>,
pub owner: Option<String>,
}Expand description
A payment method (B-19).
Fields§
§label: StringIts label, once each.
kind: Stringbank, business_card, member_card, member_cash_or_check or
platform.
account: StringThe account it pays through, by code.
last4: Option<String>The card’s or account’s last four, if known.
owner: Option<String>The party it belongs to, by name (informational).
Trait Implementations§
Source§impl Clone for InstrumentSpec
impl Clone for InstrumentSpec
Source§fn clone(&self) -> InstrumentSpec
fn clone(&self) -> InstrumentSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstrumentSpec
impl Debug for InstrumentSpec
Source§impl<'de> Deserialize<'de> for InstrumentSpec
impl<'de> Deserialize<'de> for InstrumentSpec
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
Source§impl PartialEq for InstrumentSpec
impl PartialEq for InstrumentSpec
impl StructuralPartialEq for InstrumentSpec
Auto Trait Implementations§
impl Freeze for InstrumentSpec
impl RefUnwindSafe for InstrumentSpec
impl Send for InstrumentSpec
impl Sync for InstrumentSpec
impl Unpin for InstrumentSpec
impl UnsafeUnpin for InstrumentSpec
impl UnwindSafe for InstrumentSpec
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