pub struct DiscoveryReport {
pub candidates: Vec<DiscoveryCandidate>,
pub stats: DiscoveryStats,
}Expand description
The result of a discovery run: ranked candidates plus run stats.
Fields§
§candidates: Vec<DiscoveryCandidate>Candidates, highest support first.
stats: DiscoveryStatsRun stats.
Implementations§
Source§impl DiscoveryReport
impl DiscoveryReport
Sourcepub fn to_signatures_yaml(&self) -> String
pub fn to_signatures_yaml(&self) -> String
Render the candidates as a schemas: YAML block ready to paste into a
--schema-config file. Guaranteed to round-trip through
parse_schema_signatures.
Trait Implementations§
Source§impl Clone for DiscoveryReport
impl Clone for DiscoveryReport
Source§fn clone(&self) -> DiscoveryReport
fn clone(&self) -> DiscoveryReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DiscoveryReport
impl RefUnwindSafe for DiscoveryReport
impl Send for DiscoveryReport
impl Sync for DiscoveryReport
impl Unpin for DiscoveryReport
impl UnsafeUnpin for DiscoveryReport
impl UnwindSafe for DiscoveryReport
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