pub struct IntegrationConfig {
pub idx: u8,
pub name: String,
pub protocol: IntegrationProtocol,
pub endpoint: String,
pub send: Kind,
pub recv: Kind,
}
Expand description
The mechanism for reverse proxying and calling out to external APIs.
Fields§
§idx: u8
Unique index for integration
name: String
Name of the integration.
protocol: IntegrationProtocol
Protocol used for communicating with the external service.
endpoint: String
Endpoint that the external service lives at.
send: Kind
Definition for the parameters of the receiving service.
(Automatically translated to the service’s protocol/encoding format).
recv: Kind
Definition for the returned value of the external service.
(Automatically translated from the service’s protocol/encoding format).
Trait Implementations§
Source§impl Clone for IntegrationConfig
impl Clone for IntegrationConfig
Source§fn clone(&self) -> IntegrationConfig
fn clone(&self) -> IntegrationConfig
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 IntegrationConfig
impl Debug for IntegrationConfig
Source§impl<'de> Deserialize<'de> for IntegrationConfig
impl<'de> Deserialize<'de> for IntegrationConfig
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 IntegrationConfig
impl RefUnwindSafe for IntegrationConfig
impl Send for IntegrationConfig
impl Sync for IntegrationConfig
impl Unpin for IntegrationConfig
impl UnwindSafe for IntegrationConfig
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