pub struct IntegrationSuggestion {
pub crate_name: String,
pub reason: String,
pub priority: u32,
pub category: String,
pub synergizes_with: Vec<String>,
}Expand description
A suggestion produced by the discovery engine.
Fields§
§crate_name: StringThe crate to add.
reason: StringWhy it should be added.
priority: u32Priority: lower = higher priority.
category: StringCategory of the suggested crate.
synergizes_with: Vec<String>Which existing crates benefit from this integration.
Trait Implementations§
Source§impl Clone for IntegrationSuggestion
impl Clone for IntegrationSuggestion
Source§fn clone(&self) -> IntegrationSuggestion
fn clone(&self) -> IntegrationSuggestion
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 IntegrationSuggestion
impl Debug for IntegrationSuggestion
Source§impl PartialEq for IntegrationSuggestion
impl PartialEq for IntegrationSuggestion
Source§fn eq(&self, other: &IntegrationSuggestion) -> bool
fn eq(&self, other: &IntegrationSuggestion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IntegrationSuggestion
Auto Trait Implementations§
impl Freeze for IntegrationSuggestion
impl RefUnwindSafe for IntegrationSuggestion
impl Send for IntegrationSuggestion
impl Sync for IntegrationSuggestion
impl Unpin for IntegrationSuggestion
impl UnsafeUnpin for IntegrationSuggestion
impl UnwindSafe for IntegrationSuggestion
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