pub struct ElectionSearch {
pub start: String,
pub end: String,
pub windows: Vec<ElectionWindow>,
pub evaluated: u32,
pub excluded: Exclusions,
pub criteria: CriteriaSummary,
}Expand description
The result of a search.
Fields§
§start: StringStart of the span searched, ISO 8601 UTC.
end: StringEnd of the span searched, ISO 8601 UTC.
windows: Vec<ElectionWindow>The best windows, best first.
evaluated: u32Moments assessed.
excluded: ExclusionsMoments left out by each filter (a moment counts once, for the first it fails).
criteria: CriteriaSummaryThe criteria, defaults resolved.
Trait Implementations§
Source§impl Clone for ElectionSearch
impl Clone for ElectionSearch
Source§impl Debug for ElectionSearch
impl Debug for ElectionSearch
Source§impl PartialEq for ElectionSearch
impl PartialEq for ElectionSearch
Source§impl Serialize for ElectionSearch
impl Serialize for ElectionSearch
impl StructuralPartialEq for ElectionSearch
Auto Trait Implementations§
impl Freeze for ElectionSearch
impl RefUnwindSafe for ElectionSearch
impl Send for ElectionSearch
impl Sync for ElectionSearch
impl Unpin for ElectionSearch
impl UnsafeUnpin for ElectionSearch
impl UnwindSafe for ElectionSearch
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