pub struct Sorted {
pub provider: Provider,
pub preferred: Vec<(CapabilityId, bool)>,
pub p50_ns: Option<u64>,
}Expand description
One provider in a sorted answer, with what it was sorted on.
Fields§
§provider: ProviderThe provider.
preferred: Vec<(CapabilityId, bool)>Each preferred id, in the order of importance given, and whether this provider has it.
p50_ns: Option<u64>Median time of the ranking workload in the ranking environment, if measured.
Trait Implementations§
impl Eq for Sorted
impl StructuralPartialEq for Sorted
Auto Trait Implementations§
impl Freeze for Sorted
impl RefUnwindSafe for Sorted
impl Send for Sorted
impl Sync for Sorted
impl Unpin for Sorted
impl UnsafeUnpin for Sorted
impl UnwindSafe for Sorted
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