Struct stomp_parser::server::MessageFrame
source · pub struct MessageFrame {
pub message_id: MessageIdValue,
pub destination: DestinationValue,
pub subscription: SubscriptionValue,
pub content_type: Option<ContentTypeValue>,
pub content_length: Option<ContentLengthValue>,
pub custom: Vec<CustomValue>,
/* private fields */
}Expand description
This frame has required headers message_id,destination,subscription and optional headers content_type,content_length.
Fields§
§message_id: MessageIdValueThe value of the message_id header.
destination: DestinationValueThe value of the destination header.
subscription: SubscriptionValueThe value of the subscription header.
content_type: Option<ContentTypeValue>The value of the content_type header.
content_length: Option<ContentLengthValue>The value of the content_length header.
custom: Vec<CustomValue>Implementations§
Trait Implementations§
source§impl Debug for MessageFrame
impl Debug for MessageFrame
Auto Trait Implementations§
impl RefUnwindSafe for MessageFrame
impl Send for MessageFrame
impl Sync for MessageFrame
impl Unpin for MessageFrame
impl UnwindSafe for MessageFrame
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