pub struct CreateIntegrationRequest {
pub config: Option<Value>,
pub enabled: Option<bool>,
pub name: Option<LocalizedString>,
pub org_id: String,
pub provider_type: String,
pub secrets: Option<Value>,
}Expand description
CreateIntegrationRequest
JSON schema
{
"type": "object",
"required": [
"org_id",
"provider_type"
],
"properties": {
"config": {},
"enabled": {
"type": "boolean"
},
"name": {
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/LocalizedString"
}
]
}
]
},
"org_id": {
"type": "string"
},
"provider_type": {
"type": "string"
},
"secrets": {}
}
}Fields§
§config: Option<Value>§enabled: Option<bool>§name: Option<LocalizedString>§org_id: String§provider_type: String§secrets: Option<Value>Trait Implementations§
Source§impl Clone for CreateIntegrationRequest
impl Clone for CreateIntegrationRequest
Source§fn clone(&self) -> CreateIntegrationRequest
fn clone(&self) -> CreateIntegrationRequest
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 CreateIntegrationRequest
impl Debug for CreateIntegrationRequest
Source§impl<'de> Deserialize<'de> for CreateIntegrationRequest
impl<'de> Deserialize<'de> for CreateIntegrationRequest
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 CreateIntegrationRequest
impl RefUnwindSafe for CreateIntegrationRequest
impl Send for CreateIntegrationRequest
impl Sync for CreateIntegrationRequest
impl Unpin for CreateIntegrationRequest
impl UnsafeUnpin for CreateIntegrationRequest
impl UnwindSafe for CreateIntegrationRequest
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