pub struct ContractOp {
pub direction: OpDirection,
pub ty: AssignmentType,
pub opids: BTreeSet<OpId>,
pub state: AllocatedState,
pub to: BTreeSet<ExplicitSeal<Txid>>,
pub witness: Option<WitnessInfo>,
}Fields§
§direction: OpDirection§ty: AssignmentType§opids: BTreeSet<OpId>§state: AllocatedState§to: BTreeSet<ExplicitSeal<Txid>>§witness: Option<WitnessInfo>Trait Implementations§
Source§impl Clone for ContractOp
impl Clone for ContractOp
Source§fn clone(&self) -> ContractOp
fn clone(&self) -> ContractOp
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 ContractOp
impl Debug for ContractOp
Source§impl<'de> Deserialize<'de> for ContractOp
impl<'de> Deserialize<'de> for ContractOp
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContractOp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContractOp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ContractOp
impl Hash for ContractOp
Source§impl PartialEq for ContractOp
impl PartialEq for ContractOp
Source§impl Serialize for ContractOp
impl Serialize for ContractOp
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ContractOp
impl StructuralPartialEq for ContractOp
Auto Trait Implementations§
impl Freeze for ContractOp
impl RefUnwindSafe for ContractOp
impl Send for ContractOp
impl Sync for ContractOp
impl Unpin for ContractOp
impl UnwindSafe for ContractOp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.