pub struct PreClosedContract {
pub signed_contract: SignedContract,
pub attestations: Option<Vec<OracleAttestation>>,
pub signed_cet: Transaction,
}
Expand description
Information about a contract that is almost closed by a broadcasted, but not confirmed CET.
Fields§
§signed_contract: SignedContract
The signed contract that was closed.
attestations: Option<Vec<OracleAttestation>>
The attestations that were used to decrypt the broadcast CET.
signed_cet: Transaction
The signed version of the CET that was broadcast.
Trait Implementations§
Source§impl Clone for PreClosedContract
impl Clone for PreClosedContract
Source§fn clone(&self) -> PreClosedContract
fn clone(&self) -> PreClosedContract
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 Readable for PreClosedContract
impl Readable for PreClosedContract
Source§impl Writeable for PreClosedContract
impl Writeable for PreClosedContract
Auto Trait Implementations§
impl Freeze for PreClosedContract
impl RefUnwindSafe for PreClosedContract
impl Send for PreClosedContract
impl Sync for PreClosedContract
impl Unpin for PreClosedContract
impl UnwindSafe for PreClosedContract
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