pub struct InputQuery {
pub address: Expression,
pub min_amount: Expression,
pub ref: Expression,
pub many: bool,
pub collateral: bool,
}Fields§
§address: Expression§min_amount: Expression§ref: Expression§many: bool§collateral: boolTrait Implementations§
Source§impl Clone for InputQuery
impl Clone for InputQuery
Source§fn clone(&self) -> InputQuery
fn clone(&self) -> InputQuery
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 Composite for InputQuery
impl Composite for InputQuery
fn components(&self) -> Vec<&Expression>
fn try_map_components<F>(self, f: F) -> Result<Self, Error>
fn reduce_self(self) -> Result<Self, Error>
fn reduce_nested(self) -> Result<Self, Error>
Source§impl Debug for InputQuery
impl Debug for InputQuery
Source§impl<'de> Deserialize<'de> for InputQuery
impl<'de> Deserialize<'de> for InputQuery
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 Node for InputQuery
impl Node for InputQuery
Source§impl PartialEq for InputQuery
impl PartialEq for InputQuery
Source§impl Serialize for InputQuery
impl Serialize for InputQuery
impl Eq for InputQuery
impl StructuralPartialEq for InputQuery
Auto Trait Implementations§
impl Freeze for InputQuery
impl RefUnwindSafe for InputQuery
impl Send for InputQuery
impl Sync for InputQuery
impl Unpin for InputQuery
impl UnsafeUnpin for InputQuery
impl UnwindSafe for InputQuery
Blanket Implementations§
Source§impl<T> Apply for T
impl<T> Apply for T
fn apply_args(self, args: &BTreeMap<String, ArgValue>) -> Result<T, Error>
fn apply_inputs(self, args: &BTreeMap<String, UtxoSet>) -> Result<T, Error>
fn apply_fees(self, fees: u64) -> Result<T, Error>
fn is_constant(&self) -> bool
fn params(&self) -> BTreeMap<String, Type>
fn queries(&self) -> BTreeMap<String, InputQuery>
fn reduce(self) -> Result<T, Error>
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