pub struct DispatchAck {
pub conversation_id: String,
pub status: DispatchAckStatus,
}Expand description
Typed acknowledgement for a dispatch request.
Fields§
§conversation_id: StringConversation correlation identifier.
status: DispatchAckStatusDelivery acknowledgement status.
Implementations§
Source§impl DispatchAck
impl DispatchAck
Sourcepub const CONTENT_TYPE: &'static str = DISPATCH_ACK_CONTENT_TYPE
pub const CONTENT_TYPE: &'static str = DISPATCH_ACK_CONTENT_TYPE
Content type expected by typed dispatch acknowledgement channels.
Sourcepub const fn new(conversation_id: String, status: DispatchAckStatus) -> Self
pub const fn new(conversation_id: String, status: DispatchAckStatus) -> Self
Creates a typed dispatch acknowledgement.
Trait Implementations§
Source§impl Clone for DispatchAck
impl Clone for DispatchAck
Source§fn clone(&self) -> DispatchAck
fn clone(&self) -> DispatchAck
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 DispatchAck
impl Debug for DispatchAck
impl Eq for DispatchAck
Source§impl PartialEq for DispatchAck
impl PartialEq for DispatchAck
Source§fn eq(&self, other: &DispatchAck) -> bool
fn eq(&self, other: &DispatchAck) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DispatchAck
Auto Trait Implementations§
impl Freeze for DispatchAck
impl RefUnwindSafe for DispatchAck
impl Send for DispatchAck
impl Sync for DispatchAck
impl Unpin for DispatchAck
impl UnsafeUnpin for DispatchAck
impl UnwindSafe for DispatchAck
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.