Struct stomp_parser::client::SubscribeFrame
source · pub struct SubscribeFrame {
pub destination: DestinationValue,
pub id: IdValue,
pub ack_type: AckValue,
pub receipt: Option<ReceiptValue>,
pub custom: Vec<CustomValue>,
/* private fields */
}
Expand description
Subscribes to a specific destination.
This frame has required headers destination
,id
and optional headers ack_type
,receipt
.
Fields§
§destination: DestinationValue
The value of the destination
header.
id: IdValue
The value of the id
header.
ack_type: AckValue
The value of the ack_type
header.
Defaults to Auto
if not supplied.
receipt: Option<ReceiptValue>
The value of the receipt
header.
custom: Vec<CustomValue>
Implementations§
Trait Implementations§
source§impl Debug for SubscribeFrame
impl Debug for SubscribeFrame
Auto Trait Implementations§
impl RefUnwindSafe for SubscribeFrame
impl Send for SubscribeFrame
impl Sync for SubscribeFrame
impl Unpin for SubscribeFrame
impl UnwindSafe for SubscribeFrame
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