pub struct Matched {
pub kind: SearchKind,
pub items: Vec<Item>,
pub people: Vec<Person>,
pub total: u32,
}Expand description
What matched of one kind, best first as the finder has them: at most one more than the request’s limit, and how many there are in all.
Fields§
§kind: SearchKind§items: Vec<Item>Empty for SearchKind::People.
people: Vec<Person>Only for SearchKind::People.
total: u32How many there are, at least as many as are here. For people it is only as many as were returned.
Trait Implementations§
impl Eq for Matched
impl StructuralPartialEq for Matched
Auto Trait Implementations§
impl Forget for Matched
impl Freeze for Matched
impl Move for Matched
impl RefUnwindSafe for Matched
impl Send for Matched
impl Sync for Matched
impl Unpin for Matched
impl UnsafeUnpin for Matched
impl UnwindSafe for Matched
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