pub struct IntegrationResponse {Show 16 fields
pub cache_hit: Option<bool>,
pub cache_ttl: Option<i64>,
pub config: Option<Value>,
pub created_at: Option<DateTime<Utc>>,
pub deleted_at: Option<DateTime<Utc>>,
pub enabled: bool,
pub hard_delete_at: Option<DateTime<Utc>>,
pub health: IntegrationHealth,
pub id: String,
pub metadata: Option<HashMap>,
pub name: LocalizedString,
pub org_id: String,
pub provider_type: ProviderType,
pub provider_type_name: LocalizedString,
pub purge_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
}Expand description
IntegrationResponse
JSON schema
{
"allOf": [
{
"$ref": "#/components/schemas/Integration"
},
{
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/StorageFeatures"
}
]
}
]
},
{
"type": "object",
"required": [
"provider_type_name"
],
"properties": {
"provider_type_name": {
"$ref": "#/components/schemas/LocalizedString"
}
}
}
]
}Fields§
§cache_hit: Option<bool>§cache_ttl: Option<i64>§config: Option<Value>Provider-specific non-secret configuration (JSON).
created_at: Option<DateTime<Utc>>§deleted_at: Option<DateTime<Utc>>§enabled: boolUser-controlled flag: if false, this integration will not be used for actions/ops.
hard_delete_at: Option<DateTime<Utc>>§health: IntegrationHealth§id: StringUnique identifier (ULID).
metadata: Option<HashMap>§name: LocalizedString§org_id: StringOrganization that owns this integration.
provider_type: ProviderType§provider_type_name: LocalizedString§purge_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for IntegrationResponse
impl Clone for IntegrationResponse
Source§fn clone(&self) -> IntegrationResponse
fn clone(&self) -> IntegrationResponse
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 IntegrationResponse
impl Debug for IntegrationResponse
Source§impl<'de> Deserialize<'de> for IntegrationResponse
impl<'de> Deserialize<'de> for IntegrationResponse
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 IntegrationResponse
impl RefUnwindSafe for IntegrationResponse
impl Send for IntegrationResponse
impl Sync for IntegrationResponse
impl Unpin for IntegrationResponse
impl UnsafeUnpin for IntegrationResponse
impl UnwindSafe for IntegrationResponse
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