pub struct ProviderInfo {
pub display_name: &'static str,
pub key: &'static str,
pub default_categories: &'static [ToolCategory],
pub conditional_categories: &'static [ConditionalCategory],
}Expand description
Provider entry in the support matrix.
default_categories are advertised whenever the provider is configured.
conditional_categories require additional setup (e.g. plugins) and are
rendered with a footnote so users know they may not be available.
Fields§
§display_name: &'static str§key: &'static str§default_categories: &'static [ToolCategory]§conditional_categories: &'static [ConditionalCategory]Trait Implementations§
Source§impl Clone for ProviderInfo
impl Clone for ProviderInfo
Source§fn clone(&self) -> ProviderInfo
fn clone(&self) -> ProviderInfo
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 ProviderInfo
impl RefUnwindSafe for ProviderInfo
impl Send for ProviderInfo
impl Sync for ProviderInfo
impl Unpin for ProviderInfo
impl UnsafeUnpin for ProviderInfo
impl UnwindSafe for ProviderInfo
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