#[non_exhaustive]pub struct FindResult {
pub publisher: Option<String>,
pub source: Option<String>,
pub facets: Option<BTreeMap<String, Vec<String>>>,
}Expand description
A find result (C2, the classes round): a JSON object of the mesh’s, of which fn (a function name, optional),
publisher (the host of fn, with fn), source (a DNS name) and facets are checked. The rest is the
mesh’s and is not read. Text that is not strict JSON is 6.1’s code, not E_DESCRIBE.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.publisher: Option<String>The publisher of fn, when the result gives one.
source: Option<String>The source’s DNS name, when the result gives one.
facets: Option<BTreeMap<String, Vec<String>>>The facets, when the result gives them (C2).
Trait Implementations§
Source§impl Clone for FindResult
impl Clone for FindResult
Source§impl Debug for FindResult
impl Debug for FindResult
impl Eq for FindResult
Source§impl PartialEq for FindResult
impl PartialEq for FindResult
impl StructuralPartialEq for FindResult
Auto Trait Implementations§
impl Forget for FindResult
impl Freeze for FindResult
impl Move for FindResult
impl RefUnwindSafe for FindResult
impl Send for FindResult
impl Sync for FindResult
impl Unpin for FindResult
impl UnsafeUnpin for FindResult
impl UnwindSafe for FindResult
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