pub struct Frame {
pub command: String,
pub headers: Vec<(String, String)>,
pub body: Option<String>,
}
Expand description
Represents a STOMP frame.
Fields§
§command: String
§headers: Vec<(String, String)>
§body: Option<String>
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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