pub struct CreateIntegrationRequest {
pub type: String,
pub name: String,
pub data: Option<Value>,
}Expand description
CreateIntegrationRequest
Fields§
§type: StringThe integration type
name: StringThe name of the integration
data: Option<Value>The authentication data for the integration
Implementations§
Source§impl CreateIntegrationRequest
impl CreateIntegrationRequest
pub fn new(type: String, name: String) -> CreateIntegrationRequest
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 Default for CreateIntegrationRequest
impl Default for CreateIntegrationRequest
Source§fn default() -> CreateIntegrationRequest
fn default() -> CreateIntegrationRequest
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for CreateIntegrationRequest
impl PartialEq for CreateIntegrationRequest
Source§impl Serialize for CreateIntegrationRequest
impl Serialize for CreateIntegrationRequest
impl StructuralPartialEq for CreateIntegrationRequest
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