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 Contractwhere
*const ArcInner<RoomInner> is !null: Freeze,
PhantomData<ArcInner<RoomInner>>: Freeze,
*const ArcInner<Runtime> is !null: Freeze,
PhantomData<ArcInner<Runtime>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<AgentInner> is !null: Freeze,
PhantomData<ArcInner<AgentInner>>: Freeze,
PhantomData<ContentOrContract>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
PhantomData<u64>: Freeze,
PhantomData<SecretRequest>: Freeze,
PhantomData<String>: Freeze,
PhantomData<GroupRef>: Freeze,
PhantomData<GroupMember>: Freeze,
PhantomData<Platform>: Freeze,
PhantomData<ApiKey>: Freeze,
PhantomData<Schema>: Freeze,
*const LeafNode<String, Schema> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Schema)>>: Freeze,
*const Schema is !null: Freeze,
PhantomData<Return>: Freeze,
impl Move for Contract
impl RefUnwindSafe for Contractwhere
Atomic<usize>: RefUnwindSafe,
Chan<Message, Semaphore>: RefUnwindSafe,
Mutex<Vec<Presence>>: RefUnwindSafe,
RwLock<bool>: RefUnwindSafe,
AtomicUsize: RefUnwindSafe,
Notify: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
Mutex<Vec<String>>: RefUnwindSafe,
Mutex<HashMap<String, Agent>>: RefUnwindSafe,
Mutex<Vec<Agent>>: RefUnwindSafe,
NonZero<i32>: RefUnwindSafe,
Utc: RefUnwindSafe,
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnsafeUnpin for Contractwhere
*const ArcInner<RoomInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<RoomInner>>: UnsafeUnpin,
*const ArcInner<Runtime> is !null: UnsafeUnpin,
PhantomData<ArcInner<Runtime>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<AgentInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<AgentInner>>: UnsafeUnpin,
PhantomData<ContentOrContract>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<SecretRequest>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GroupRef>: UnsafeUnpin,
PhantomData<GroupMember>: UnsafeUnpin,
PhantomData<Platform>: UnsafeUnpin,
PhantomData<ApiKey>: UnsafeUnpin,
PhantomData<Schema>: UnsafeUnpin,
*const LeafNode<String, Schema> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Schema)>>: UnsafeUnpin,
*const Schema is !null: UnsafeUnpin,
PhantomData<Return>: UnsafeUnpin,
impl UnwindSafe for Contractwhere
Arc<RoomInner>: UnwindSafe,
Arc<Runtime>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<AgentInner>: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
NonNull<u8>: UnwindSafe,
BoxRaw<Contract>: UnwindSafe,
BTreeMap<String, Schema>: UnwindSafe,
BoxRaw<Schema>: UnwindSafe,
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