pub struct Participant {
pub id: String,
pub role: Option<String>,
pub policies: Option<Vec<Policy>>,
pub leiCode: Option<String>,
}Expand description
Participant in a transfer (TAIP-3, TAIP-11).
Fields§
§id: StringDID of the participant.
role: Option<String>Role of the participant (optional).
policies: Option<Vec<Policy>>Policies of the participant according to TAIP-7 (optional).
leiCode: Option<String>Legal Entity Identifier (LEI) code of the participant (optional).
Implementations§
Trait Implementations§
Source§impl Clone for Participant
impl Clone for Participant
Source§fn clone(&self) -> Participant
fn clone(&self) -> Participant
Returns a copy of the value. Read more
1.0.0 · 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 Participant
impl Debug for Participant
Source§impl<'de> Deserialize<'de> for Participant
impl<'de> Deserialize<'de> for Participant
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 Participant
impl PartialEq for Participant
Source§impl Serialize for Participant
impl Serialize for Participant
impl StructuralPartialEq for Participant
Auto Trait Implementations§
impl Freeze for Participant
impl RefUnwindSafe for Participant
impl Send for Participant
impl Sync for Participant
impl Unpin for Participant
impl UnwindSafe for Participant
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