pub struct AsyncApiInboundMessageDefinition {
pub payload: Option<Value>,
pub headers: Option<Value>,
pub correlation_id: Option<String>,
}Expand description
Represents an AsyncAPI inbound message (extends outbound with correlationId)
Fields§
§payload: Option<Value>Gets/sets the message’s payload, if any
headers: Option<Value>Gets/sets the message’s headers, if any
correlation_id: Option<String>Gets/sets the message’s correlation id, if any
Trait Implementations§
Source§impl Clone for AsyncApiInboundMessageDefinition
impl Clone for AsyncApiInboundMessageDefinition
Source§fn clone(&self) -> AsyncApiInboundMessageDefinition
fn clone(&self) -> AsyncApiInboundMessageDefinition
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 Default for AsyncApiInboundMessageDefinition
impl Default for AsyncApiInboundMessageDefinition
Source§fn default() -> AsyncApiInboundMessageDefinition
fn default() -> AsyncApiInboundMessageDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AsyncApiInboundMessageDefinition
impl<'de> Deserialize<'de> for AsyncApiInboundMessageDefinition
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
Source§impl PartialEq for AsyncApiInboundMessageDefinition
impl PartialEq for AsyncApiInboundMessageDefinition
Source§fn eq(&self, other: &AsyncApiInboundMessageDefinition) -> bool
fn eq(&self, other: &AsyncApiInboundMessageDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AsyncApiInboundMessageDefinition
Auto Trait Implementations§
impl Freeze for AsyncApiInboundMessageDefinition
impl RefUnwindSafe for AsyncApiInboundMessageDefinition
impl Send for AsyncApiInboundMessageDefinition
impl Sync for AsyncApiInboundMessageDefinition
impl Unpin for AsyncApiInboundMessageDefinition
impl UnsafeUnpin for AsyncApiInboundMessageDefinition
impl UnwindSafe for AsyncApiInboundMessageDefinition
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