pub struct IntegrationCatalogItem {
pub id: String,
pub name: String,
pub description: String,
pub icon: String,
pub auth_type: IntegrationCatalogItemAuthType,
pub oauth_provider: Option<String>,
pub required_oauth_scopes: Option<Vec<String>>,
pub config_schema: HashMap<String, ConnectorConfigField>,
}Expand description
Available integration (connector) type in the catalog
Fields§
§id: StringConnector id (e.g. github, stripe, notion, slack)
name: String§description: String§icon: String§auth_type: IntegrationCatalogItemAuthType§oauth_provider: Option<String>Present when the connector authorises through another connector’s OAuth provider
(google_calendar, gmail, google_drive and google_sheets all say google). A client builds
the authorize URL from this when set, from id otherwise. Absent for every other connector.
required_oauth_scopes: Option<Vec<String>>The OAuth scopes the connector needs, so a client can show them BEFORE the visitor clicks Connect rather than leaving the IdP consent screen to be the first place they are seen. Absent — not empty — for api_key connectors and for OAuth connectors that declare none.
config_schema: HashMap<String, ConnectorConfigField>Trait Implementations§
Source§impl Clone for IntegrationCatalogItem
impl Clone for IntegrationCatalogItem
Source§fn clone(&self) -> IntegrationCatalogItem
fn clone(&self) -> IntegrationCatalogItem
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 IntegrationCatalogItem
impl Debug for IntegrationCatalogItem
Source§impl Default for IntegrationCatalogItem
impl Default for IntegrationCatalogItem
Source§fn default() -> IntegrationCatalogItem
fn default() -> IntegrationCatalogItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntegrationCatalogItem
impl<'de> Deserialize<'de> for IntegrationCatalogItem
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
Source§impl PartialEq for IntegrationCatalogItem
impl PartialEq for IntegrationCatalogItem
Source§impl Serialize for IntegrationCatalogItem
impl Serialize for IntegrationCatalogItem
impl StructuralPartialEq for IntegrationCatalogItem
Auto Trait Implementations§
impl Freeze for IntegrationCatalogItem
impl RefUnwindSafe for IntegrationCatalogItem
impl Send for IntegrationCatalogItem
impl Sync for IntegrationCatalogItem
impl Unpin for IntegrationCatalogItem
impl UnsafeUnpin for IntegrationCatalogItem
impl UnwindSafe for IntegrationCatalogItem
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