pub struct ConnectionProviderConfig {
pub id: String,
pub name: String,
pub authorization_url: String,
pub token_url: String,
pub refresh_url: Option<String>,
pub scopes_supported: Vec<String>,
pub default_scopes: Vec<String>,
pub scope_mappings: HashMap<String, String>,
}Expand description
A custom connection provider (OAuth integration) stored in workspace settings.
Fields§
§id: StringUnique identifier (e.g., “linear”, “figma”, “custom_crm”)
name: StringDisplay name
OAuth2 authorization URL
token_url: StringOAuth2 token URL
refresh_url: Option<String>Optional refresh URL (defaults to token_url)
scopes_supported: Vec<String>Scopes the provider supports
default_scopes: Vec<String>Default scopes to request
scope_mappings: HashMap<String, String>Friendly scope name → full scope string mappings
Trait Implementations§
Source§impl Clone for ConnectionProviderConfig
impl Clone for ConnectionProviderConfig
Source§fn clone(&self) -> ConnectionProviderConfig
fn clone(&self) -> ConnectionProviderConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ConnectionProviderConfig
impl Debug for ConnectionProviderConfig
Source§impl<'de> Deserialize<'de> for ConnectionProviderConfig
impl<'de> Deserialize<'de> for ConnectionProviderConfig
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 ConnectionProviderConfig
impl RefUnwindSafe for ConnectionProviderConfig
impl Send for ConnectionProviderConfig
impl Sync for ConnectionProviderConfig
impl Unpin for ConnectionProviderConfig
impl UnsafeUnpin for ConnectionProviderConfig
impl UnwindSafe for ConnectionProviderConfig
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