pub enum EndpointSource {
Http {
adapter_id: String,
method: String,
path: String,
},
Channel {
channel_id: String,
},
}Expand description
Source metadata describing origin of messages entering an endpoint.
Variants§
Implementations§
Source§impl EndpointSource
impl EndpointSource
pub fn apply_headers(&self, exchange: &mut Exchange)
Trait Implementations§
Source§impl Clone for EndpointSource
impl Clone for EndpointSource
Source§fn clone(&self) -> EndpointSource
fn clone(&self) -> EndpointSource
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 moreAuto Trait Implementations§
impl Freeze for EndpointSource
impl RefUnwindSafe for EndpointSource
impl Send for EndpointSource
impl Sync for EndpointSource
impl Unpin for EndpointSource
impl UnwindSafe for EndpointSource
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