pub struct PartySpec {
pub name: String,
pub roles: Vec<String>,
pub creditor_of: Vec<String>,
pub tin_last4: Option<String>,
pub w9_tin_last4: Option<String>,
pub tin_purged: bool,
}Expand description
One party in the directory (B-26, B-35).
Fields§
§name: StringIts name, once each.
roles: Vec<String>Role keys; vendor and customer give the party its record (one
of them at most).
creditor_of: Vec<String>The liabilities, by code, the company owes the party itself (B-35 item 6).
tin_last4: Option<String>Its TIN facts’ last four (an SSN’s).
w9_tin_last4: Option<String>Its W-9 facts’ last four (a 1099 role’s).
tin_purged: boolThe vault’s copy of the TIN purged, the facts kept (needs
tin_last4).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartySpec
impl<'de> Deserialize<'de> for PartySpec
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
impl StructuralPartialEq for PartySpec
Auto Trait Implementations§
impl Freeze for PartySpec
impl RefUnwindSafe for PartySpec
impl Send for PartySpec
impl Sync for PartySpec
impl Unpin for PartySpec
impl UnsafeUnpin for PartySpec
impl UnwindSafe for PartySpec
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