Enum marlowe_lang::semantics::ExpectedInput
source · pub enum ExpectedInput {
Deposit {
who_is_expected_to_pay: Party,
expected_asset_type: Token,
expected_amount: i128,
expected_payee: AccountId,
continuation: PossiblyMerkleizedContract,
},
Choice {
choice_name: String,
who_is_allowed_to_make_the_choice: Party,
bounds: Vec<Bound>,
continuation: PossiblyMerkleizedContract,
},
Notify {
obs: Observation,
continuation: PossiblyMerkleizedContract,
},
}
Variants§
Deposit
Fields
§
continuation: PossiblyMerkleizedContract
Choice
Fields
§
continuation: PossiblyMerkleizedContract
Notify
Trait Implementations§
source§impl Debug for ExpectedInput
impl Debug for ExpectedInput
source§impl<'de> Deserialize<'de> for ExpectedInput
impl<'de> Deserialize<'de> for ExpectedInput
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
source§impl PartialEq for ExpectedInput
impl PartialEq for ExpectedInput
source§fn eq(&self, other: &ExpectedInput) -> bool
fn eq(&self, other: &ExpectedInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExpectedInput
impl Serialize for ExpectedInput
impl StructuralPartialEq for ExpectedInput
Auto Trait Implementations§
impl Freeze for ExpectedInput
impl RefUnwindSafe for ExpectedInput
impl Send for ExpectedInput
impl Sync for ExpectedInput
impl Unpin for ExpectedInput
impl UnwindSafe for ExpectedInput
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