pub struct SkillsShConfig {
pub base_url: Option<String>,
pub api_key: Option<String>,
pub enabled: bool,
}Expand description
Skills.sh registry configuration.
Fields§
§base_url: Option<String>Base URL for the Skills.sh API.
Defaults to https://skills.sh.
api_key: Option<String>API key for Skills.sh authentication.
Falls back to SKILLS_SH_TOKEN env var if not set.
enabled: boolWhether Skills.sh integration is enabled.
Trait Implementations§
Source§impl Clone for SkillsShConfig
impl Clone for SkillsShConfig
Source§fn clone(&self) -> SkillsShConfig
fn clone(&self) -> SkillsShConfig
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 SkillsShConfig
impl Debug for SkillsShConfig
Source§impl Default for SkillsShConfig
impl Default for SkillsShConfig
Source§impl<'de> Deserialize<'de> for SkillsShConfig
impl<'de> Deserialize<'de> for SkillsShConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SkillsShConfig
impl RefUnwindSafe for SkillsShConfig
impl Send for SkillsShConfig
impl Sync for SkillsShConfig
impl Unpin for SkillsShConfig
impl UnsafeUnpin for SkillsShConfig
impl UnwindSafe for SkillsShConfig
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