pub struct IntegrationData {
pub name: String,
pub description: String,
pub version: String,
pub tools: Vec<IntegrationToolDefinition>,
pub callbacks: HashMap<String, Value>,
pub auth: Option<AuthRequirement>,
pub notifications: Vec<String>,
pub metadata: HashMap<String, Value>,
}Expand description
Integration data structure matching TypeScript format
Fields§
§name: String§description: String§version: String§tools: Vec<IntegrationToolDefinition>§callbacks: HashMap<String, Value>§auth: Option<AuthRequirement>§notifications: Vec<String>§metadata: HashMap<String, Value>Trait Implementations§
Source§impl Clone for IntegrationData
impl Clone for IntegrationData
Source§fn clone(&self) -> IntegrationData
fn clone(&self) -> IntegrationData
Returns a duplicate of the value. Read more
1.0.0 · 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 IntegrationData
impl Debug for IntegrationData
Source§impl<'de> Deserialize<'de> for IntegrationData
impl<'de> Deserialize<'de> for IntegrationData
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 IntegrationData
impl RefUnwindSafe for IntegrationData
impl Send for IntegrationData
impl Sync for IntegrationData
impl Unpin for IntegrationData
impl UnsafeUnpin for IntegrationData
impl UnwindSafe for IntegrationData
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