pub struct IntegrationInfo {
pub name: String,
pub description: String,
pub version: String,
pub tools: Vec<String>,
pub callbacks: HashMap<String, Value>,
pub notifications: Vec<String>,
pub requires_auth: bool,
pub auth_entity: Option<String>,
pub metadata: HashMap<String, Value>,
}Expand description
Information about an integration (for discovery/listing)
Fields§
§name: String§description: String§version: String§tools: Vec<String>§callbacks: HashMap<String, Value>§notifications: Vec<String>§requires_auth: bool§auth_entity: Option<String>§metadata: HashMap<String, Value>Implementations§
Source§impl IntegrationInfo
impl IntegrationInfo
pub fn from_integration(integration: &dyn Integration) -> Self
Trait Implementations§
Source§impl Clone for IntegrationInfo
impl Clone for IntegrationInfo
Source§fn clone(&self) -> IntegrationInfo
fn clone(&self) -> IntegrationInfo
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 IntegrationInfo
impl Debug for IntegrationInfo
Source§impl<'de> Deserialize<'de> for IntegrationInfo
impl<'de> Deserialize<'de> for IntegrationInfo
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 IntegrationInfo
impl RefUnwindSafe for IntegrationInfo
impl Send for IntegrationInfo
impl Sync for IntegrationInfo
impl Unpin for IntegrationInfo
impl UnsafeUnpin for IntegrationInfo
impl UnwindSafe for IntegrationInfo
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