pub struct DestinationMap {
prefix: String,
}Expand description
/topic/ prefix used by ActiveMQ STOMP for JMS topics.
Self::new forces a trailing slash so to_stomp / from_stomp
stay inverses. A topic with a leading slash is stripped on the way
out so demo and /demo share one destination.
Fields§
§prefix: StringImplementations§
Trait Implementations§
Source§impl Clone for DestinationMap
impl Clone for DestinationMap
Source§fn clone(&self) -> DestinationMap
fn clone(&self) -> DestinationMap
Returns a copy of the value. Read more
1.0.0 · 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 DestinationMap
impl Debug for DestinationMap
Source§impl PartialEq for DestinationMap
impl PartialEq for DestinationMap
impl Eq for DestinationMap
impl StructuralPartialEq for DestinationMap
Auto Trait Implementations§
impl Freeze for DestinationMap
impl RefUnwindSafe for DestinationMap
impl Send for DestinationMap
impl Sync for DestinationMap
impl Unpin for DestinationMap
impl UnwindSafe for DestinationMap
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