pub struct Contract {
pub parent: RuntimeRoom,
pub id: String,
pub principal: Agent,
pub contractor: Agent,
pub description: String,
pub settlement: Terms,
pub status: ContractStatus,
pub content: Vec<ContentOrContract>,
pub validation: Validation,
pub date: DateTime<Utc>,
}Fields§
§parent: RuntimeRoom§id: String§principal: Agent§contractor: Agent§description: String§settlement: Terms§status: ContractStatus§content: Vec<ContentOrContract>§validation: Validation§date: DateTime<Utc>Trait Implementations§
Auto Trait Implementations§
impl Forget for Contract
impl Freeze for Contract
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnsafeUnpin for Contract
impl UnwindSafe for Contract
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