pub struct Integration {
pub id: String,
pub tenant_id: String,
pub connector_id: String,
pub name: Option<String>,
pub config: Option<Map<String, Value>>,
pub status: IntegrationStatus,
pub last_sync_at: Option<String>,
pub metadata: Option<Map<String, Value>>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub migrated_at: Option<String>,
pub assigned_agent_ids: Option<Vec<String>>,
}Expand description
OAuth/API integration record (Slack, GitHub, Linear, etc.).
Fields§
§id: String§tenant_id: String§connector_id: StringWhich connector this is: github, slack, linear, …
name: Option<String>§config: Option<Map<String, Value>>Connector settings. Secrets are replaced with \<redacted\>.
status: IntegrationStatusactive is what the server sends for a working integration; the documented connected was
never emitted.
last_sync_at: Option<String>§metadata: Option<Map<String, Value>>§created_at: Option<String>§updated_at: Option<String>§migrated_at: Option<String>§assigned_agent_ids: Option<Vec<String>>Agents allowed to use this integration. Present on the live record and read by 7 files in the web; the document omitted it, so a generated client could not tell which agents an integration serves.
Trait Implementations§
Source§impl Clone for Integration
impl Clone for Integration
Source§fn clone(&self) -> Integration
fn clone(&self) -> Integration
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 Integration
impl Debug for Integration
Source§impl Default for Integration
impl Default for Integration
Source§fn default() -> Integration
fn default() -> Integration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Integration
impl<'de> Deserialize<'de> for Integration
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 Integration
impl PartialEq for Integration
Source§impl Serialize for Integration
impl Serialize for Integration
impl StructuralPartialEq for Integration
Auto Trait Implementations§
impl Freeze for Integration
impl RefUnwindSafe for Integration
impl Send for Integration
impl Sync for Integration
impl Unpin for Integration
impl UnsafeUnpin for Integration
impl UnwindSafe for Integration
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