pub struct ExtensionProducerSendParams {
pub session_id: SessionId,
pub producer_id: ProducerId,
pub mode: ProducerDeliveryMode,
pub idempotency_key: ProducerIdempotencyKey,
pub description: SafeDisplayText,
pub body: String,
}Expand description
Send requires a live registration owned by this connection and session. Identical (session, stable owner, key) retries return the original receipt; different description, body, or mode is rejected. A missing ACK is commit-uncertain.
Fields§
§session_id: SessionId§producer_id: ProducerId§mode: ProducerDeliveryMode§idempotency_key: ProducerIdempotencyKey§description: SafeDisplayText§body: StringTrait Implementations§
Source§impl Clone for ExtensionProducerSendParams
impl Clone for ExtensionProducerSendParams
Source§fn clone(&self) -> ExtensionProducerSendParams
fn clone(&self) -> ExtensionProducerSendParams
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 ExtensionProducerSendParams
impl Debug for ExtensionProducerSendParams
Source§impl<'de> Deserialize<'de> for ExtensionProducerSendParams
impl<'de> Deserialize<'de> for ExtensionProducerSendParams
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
impl Eq for ExtensionProducerSendParams
Source§impl JsonSchema for ExtensionProducerSendParams
impl JsonSchema for ExtensionProducerSendParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ExtensionProducerSendParams
impl PartialEq for ExtensionProducerSendParams
Source§fn eq(&self, other: &ExtensionProducerSendParams) -> bool
fn eq(&self, other: &ExtensionProducerSendParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExtensionProducerSendParams
Auto Trait Implementations§
impl Freeze for ExtensionProducerSendParams
impl RefUnwindSafe for ExtensionProducerSendParams
impl Send for ExtensionProducerSendParams
impl Sync for ExtensionProducerSendParams
impl Unpin for ExtensionProducerSendParams
impl UnsafeUnpin for ExtensionProducerSendParams
impl UnwindSafe for ExtensionProducerSendParams
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