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