pub struct MatchReport {
pub matches: HashMap<String, ToolMatch>,
}Expand description
Index of every tool name encountered across local and upstream catalogues.
Fields§
§matches: HashMap<String, ToolMatch>Implementations§
Source§impl MatchReport
impl MatchReport
Sourcepub fn routable_locally(&self) -> Vec<&ToolMatch>
pub fn routable_locally(&self) -> Vec<&ToolMatch>
Tools that have a viable local counterpart (matched + compatible schema).
Sourcepub fn remote_only(&self) -> Vec<&ToolMatch>
pub fn remote_only(&self) -> Vec<&ToolMatch>
Tools that exist only remotely.
Sourcepub fn local_only(&self) -> Vec<&ToolMatch>
pub fn local_only(&self) -> Vec<&ToolMatch>
Tools that exist only locally.
Sourcepub fn incompatible_pairs(&self) -> Vec<&ToolMatch>
pub fn incompatible_pairs(&self) -> Vec<&ToolMatch>
Matched pairs where schemas disagree (compatible=false).
pub fn get(&self, tool_name: &str) -> Option<&ToolMatch>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for MatchReport
impl Clone for MatchReport
Source§fn clone(&self) -> MatchReport
fn clone(&self) -> MatchReport
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 moreSource§impl Debug for MatchReport
impl Debug for MatchReport
Source§impl Default for MatchReport
impl Default for MatchReport
Source§fn default() -> MatchReport
fn default() -> MatchReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MatchReport
impl RefUnwindSafe for MatchReport
impl Send for MatchReport
impl Sync for MatchReport
impl Unpin for MatchReport
impl UnsafeUnpin for MatchReport
impl UnwindSafe for MatchReport
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