pub struct ContextConfig {
pub github: Option<GitHubConfig>,
pub gitlab: Option<GitLabConfig>,
pub clickup: Option<ClickUpConfig>,
pub jira: Option<JiraConfig>,
pub fireflies: Option<FirefliesConfig>,
pub confluence: Option<ConfluenceConfig>,
pub slack: Option<SlackConfig>,
}Expand description
Per-context provider configuration.
Fields§
§github: Option<GitHubConfig>§gitlab: Option<GitLabConfig>§clickup: Option<ClickUpConfig>§jira: Option<JiraConfig>§fireflies: Option<FirefliesConfig>Fireflies.ai configuration (meeting notes)
confluence: Option<ConfluenceConfig>Confluence self-hosted configuration (knowledge base)
slack: Option<SlackConfig>Slack configuration (messenger)
Implementations§
Source§impl ContextConfig
impl ContextConfig
Sourcepub fn has_any_provider(&self) -> bool
pub fn has_any_provider(&self) -> bool
Check whether this context config defines at least one provider.
Sourcepub fn configured_providers(&self) -> Vec<&'static str>
pub fn configured_providers(&self) -> Vec<&'static str>
Return configured provider names for this context.
Trait Implementations§
Source§impl Clone for ContextConfig
impl Clone for ContextConfig
Source§fn clone(&self) -> ContextConfig
fn clone(&self) -> ContextConfig
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 ContextConfig
impl Debug for ContextConfig
Source§impl Default for ContextConfig
impl Default for ContextConfig
Source§fn default() -> ContextConfig
fn default() -> ContextConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContextConfig
impl<'de> Deserialize<'de> for ContextConfig
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 ContextConfig
impl RefUnwindSafe for ContextConfig
impl Send for ContextConfig
impl Sync for ContextConfig
impl Unpin for ContextConfig
impl UnsafeUnpin for ContextConfig
impl UnwindSafe for ContextConfig
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