pub struct ShapeQuery {
pub args: Option<ShapeRef>,
pub result: Option<ShapeRef>,
pub limit: usize,
}Expand description
Shape filters for contract-card retrieval.
Fields§
§args: Option<ShapeRef>Wanted callable argument Shape. Candidate arguments must subsume it.
result: Option<ShapeRef>Wanted callable result Shape. Candidate results must be subshapes of it.
limit: usizeMaximum number of ranked cards returned. 0 means no cards are returned.
Trait Implementations§
Source§impl Clone for ShapeQuery
impl Clone for ShapeQuery
Source§fn clone(&self) -> ShapeQuery
fn clone(&self) -> ShapeQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ShapeQuery
impl !UnwindSafe for ShapeQuery
impl Freeze for ShapeQuery
impl Send for ShapeQuery
impl Sync for ShapeQuery
impl Unpin for ShapeQuery
impl UnsafeUnpin for ShapeQuery
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