pub struct AsyncApiArguments {
pub document: ExternalResourceDefinition,
pub channel: Option<String>,
pub operation: Option<String>,
pub server: Option<AsyncApiServerDefinition>,
pub protocol: Option<String>,
pub message: Option<AsyncApiOutboundMessageDefinition>,
pub subscription: Option<AsyncApiSubscriptionDefinition>,
pub authentication: Option<ReferenceableAuthenticationPolicy>,
}Expand description
Represents the AsyncAPI call arguments
Fields§
§document: ExternalResourceDefinitionGets/sets the document that defines the AsyncAPI operation to call
channel: Option<String>Gets/sets the name of the channel (AsyncAPI v2.6.0)
operation: Option<String>Gets/sets a reference to the AsyncAPI operation to call
server: Option<AsyncApiServerDefinition>Gets/sets the server to call the specified AsyncAPI operation on
protocol: Option<String>Gets/sets the protocol to use to select the target server
message: Option<AsyncApiOutboundMessageDefinition>Gets/sets the message to publish using the target operation
subscription: Option<AsyncApiSubscriptionDefinition>Gets/sets the subscription to messages consumed using the target operation
authentication: Option<ReferenceableAuthenticationPolicy>Gets/sets the authentication policy, if any, to use when calling the AsyncAPI operation
Trait Implementations§
Source§impl Clone for AsyncApiArguments
impl Clone for AsyncApiArguments
Source§fn clone(&self) -> AsyncApiArguments
fn clone(&self) -> AsyncApiArguments
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 AsyncApiArguments
impl Debug for AsyncApiArguments
Source§impl Default for AsyncApiArguments
impl Default for AsyncApiArguments
Source§fn default() -> AsyncApiArguments
fn default() -> AsyncApiArguments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AsyncApiArguments
impl<'de> Deserialize<'de> for AsyncApiArguments
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 AsyncApiArguments
impl PartialEq for AsyncApiArguments
Source§fn eq(&self, other: &AsyncApiArguments) -> bool
fn eq(&self, other: &AsyncApiArguments) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AsyncApiArguments
impl Serialize for AsyncApiArguments
impl StructuralPartialEq for AsyncApiArguments
Auto Trait Implementations§
impl Freeze for AsyncApiArguments
impl RefUnwindSafe for AsyncApiArguments
impl Send for AsyncApiArguments
impl Sync for AsyncApiArguments
impl Unpin for AsyncApiArguments
impl UnsafeUnpin for AsyncApiArguments
impl UnwindSafe for AsyncApiArguments
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