pub struct OutboundDispatchResult {
pub acknowledged: bool,
pub message: Option<String>,
pub status_code: Option<u16>,
pub body: Option<String>,
}Expand description
Metadata returned from outbound dispatch. Leave fields optional / expandable for future.
Fields§
§acknowledged: boolWhether the external system acknowledged / accepted the dispatch.
message: Option<String>Optional diagnostic or remote system message (e.g. HTTP status text, broker ack info).
status_code: Option<u16>Optional HTTP status code for the dispatch.
body: Option<String>Optional body for the dispatch, if applicable.
Trait Implementations§
Source§impl Debug for OutboundDispatchResult
impl Debug for OutboundDispatchResult
Source§impl Default for OutboundDispatchResult
impl Default for OutboundDispatchResult
Source§fn default() -> OutboundDispatchResult
fn default() -> OutboundDispatchResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OutboundDispatchResult
impl RefUnwindSafe for OutboundDispatchResult
impl Send for OutboundDispatchResult
impl Sync for OutboundDispatchResult
impl Unpin for OutboundDispatchResult
impl UnwindSafe for OutboundDispatchResult
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