pub struct ContractParty {
pub party_id: String,
pub name: String,
pub role: String,
pub signed: bool,
pub signed_at: Option<DateTime<Utc>>,
}Expand description
A party to a collective contract.
Fields§
§party_id: StringParty identifier.
name: StringParty name.
role: StringRole in the contract.
signed: boolWhether this party has signed.
signed_at: Option<DateTime<Utc>>When they signed (if they have).
Trait Implementations§
Source§impl Clone for ContractParty
impl Clone for ContractParty
Source§fn clone(&self) -> ContractParty
fn clone(&self) -> ContractParty
Returns a duplicate 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 ContractParty
impl Debug for ContractParty
Source§impl<'de> Deserialize<'de> for ContractParty
impl<'de> Deserialize<'de> for ContractParty
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
Auto Trait Implementations§
impl Freeze for ContractParty
impl RefUnwindSafe for ContractParty
impl Send for ContractParty
impl Sync for ContractParty
impl Unpin for ContractParty
impl UnsafeUnpin for ContractParty
impl UnwindSafe for ContractParty
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