pub struct HttpOutboundAdapterSpecBlock {
pub id: Option<String>,
pub host: String,
pub port: u16,
pub base_path: Option<String>,
pub path: Option<String>,
pub method: Option<String>,
pub use_out_msg: Option<bool>,
pub from: Option<String>,
pub to: Option<String>,
}Fields§
§id: Option<String>§host: String§port: u16§base_path: Option<String>§path: Option<String>§method: Option<String>§use_out_msg: Option<bool>§from: Option<String>Channel-driven dispatch: when present, the runtime subscribes this
adapter to the named inbound channel and dispatches each arriving
exchange. When absent, the adapter is built but not auto-wired —
application code can still invoke .dispatch(&exchange) directly
(the legacy http-outbound example pattern).
to: Option<String>Outbound channel for the post-dispatch exchange. Ignored when
from is absent. When from is set but to is None, the
adapter is fire-and-forget: dispatch happens, the result is
logged, the message is dropped.
Trait Implementations§
Source§impl Clone for HttpOutboundAdapterSpecBlock
impl Clone for HttpOutboundAdapterSpecBlock
Source§fn clone(&self) -> HttpOutboundAdapterSpecBlock
fn clone(&self) -> HttpOutboundAdapterSpecBlock
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 HttpOutboundAdapterSpecBlock
impl Debug for HttpOutboundAdapterSpecBlock
Source§impl<'de> Deserialize<'de> for HttpOutboundAdapterSpecBlock
impl<'de> Deserialize<'de> for HttpOutboundAdapterSpecBlock
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 HttpOutboundAdapterSpecBlock
impl RefUnwindSafe for HttpOutboundAdapterSpecBlock
impl Send for HttpOutboundAdapterSpecBlock
impl Sync for HttpOutboundAdapterSpecBlock
impl Unpin for HttpOutboundAdapterSpecBlock
impl UnsafeUnpin for HttpOutboundAdapterSpecBlock
impl UnwindSafe for HttpOutboundAdapterSpecBlock
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