pub enum Served {
Yes {
paths: Vec<String>,
view: Option<Vec<String>>,
card: Option<QueryCard>,
},
No {
reason: String,
},
}Expand description
Whether a declared query can be served, and by what.
Variants§
Yes
Served by declared access paths, named.
Fields
No
Not served, with the compiler’s own refusal — which names the alternative rather than only saying no.
Implementations§
Trait Implementations§
impl Eq for Served
impl StructuralPartialEq for Served
Auto Trait Implementations§
impl Freeze for Served
impl RefUnwindSafe for Served
impl Send for Served
impl Sync for Served
impl Unpin for Served
impl UnsafeUnpin for Served
impl UnwindSafe for Served
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