Struct stomp_parser::client::SendFrame
source · pub struct SendFrame {
pub destination: DestinationValue,
pub content_type: Option<ContentTypeValue>,
pub content_length: Option<ContentLengthValue>,
pub transaction: Option<TransactionValue>,
pub receipt: Option<ReceiptValue>,
pub custom: Vec<CustomValue>,
/* private fields */
}
Expand description
Sends a message to a specific destination.
This frame has required headers destination
and optional headers content_type
,content_length
,transaction
,receipt
.
Fields§
§destination: DestinationValue
The value of the destination
header.
content_type: Option<ContentTypeValue>
The value of the content_type
header.
content_length: Option<ContentLengthValue>
The value of the content_length
header.
transaction: Option<TransactionValue>
The value of the transaction
header.
receipt: Option<ReceiptValue>
The value of the receipt
header.
custom: Vec<CustomValue>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SendFrame
impl Send for SendFrame
impl Sync for SendFrame
impl Unpin for SendFrame
impl UnwindSafe for SendFrame
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