pub struct CallAsyncAPIDefinition {
pub call: String,
pub with: AsyncApiArguments,
pub common: TaskDefinitionFields,
}Expand description
Represents the definition of an AsyncAPI call task
Fields§
§call: StringGets/sets the call type identifier
with: AsyncApiArgumentsGets/sets the call arguments
common: TaskDefinitionFieldsGets/sets the task’s common fields
Trait Implementations§
Source§impl Clone for CallAsyncAPIDefinition
impl Clone for CallAsyncAPIDefinition
Source§fn clone(&self) -> CallAsyncAPIDefinition
fn clone(&self) -> CallAsyncAPIDefinition
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 CallAsyncAPIDefinition
impl Debug for CallAsyncAPIDefinition
Source§impl Default for CallAsyncAPIDefinition
impl Default for CallAsyncAPIDefinition
Source§fn default() -> CallAsyncAPIDefinition
fn default() -> CallAsyncAPIDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallAsyncAPIDefinition
impl<'de> Deserialize<'de> for CallAsyncAPIDefinition
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 CallAsyncAPIDefinition
impl PartialEq for CallAsyncAPIDefinition
Source§fn eq(&self, other: &CallAsyncAPIDefinition) -> bool
fn eq(&self, other: &CallAsyncAPIDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CallAsyncAPIDefinition
impl Serialize for CallAsyncAPIDefinition
impl StructuralPartialEq for CallAsyncAPIDefinition
Auto Trait Implementations§
impl Freeze for CallAsyncAPIDefinition
impl RefUnwindSafe for CallAsyncAPIDefinition
impl Send for CallAsyncAPIDefinition
impl Sync for CallAsyncAPIDefinition
impl Unpin for CallAsyncAPIDefinition
impl UnsafeUnpin for CallAsyncAPIDefinition
impl UnwindSafe for CallAsyncAPIDefinition
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