pub struct QueryResolution {
pub name: String,
pub query: CanonicalQuery,
pub candidates: Vec<Utxo>,
pub selection: Option<UtxoSet>,
}Expand description
Tracks a single input query as it progresses through the resolution pipeline: narrow → approximate (candidates) → assign (selection).
Fields§
§name: String§query: CanonicalQuery§candidates: Vec<Utxo>Ranked candidate UTxOs, set by the approximate stage.
selection: Option<UtxoSet>Final UTxO selection, set by the assign stage.
Implementations§
Trait Implementations§
Source§impl Clone for QueryResolution
impl Clone for QueryResolution
Source§fn clone(&self) -> QueryResolution
fn clone(&self) -> QueryResolution
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 QueryResolution
impl Debug for QueryResolution
Source§impl<'de> Deserialize<'de> for QueryResolution
impl<'de> Deserialize<'de> for QueryResolution
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 DiagnosticDump for QueryResolution
impl DiagnosticDump for QueryResolution
Auto Trait Implementations§
impl Freeze for QueryResolution
impl RefUnwindSafe for QueryResolution
impl Send for QueryResolution
impl Sync for QueryResolution
impl Unpin for QueryResolution
impl UnsafeUnpin for QueryResolution
impl UnwindSafe for QueryResolution
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