Struct epicbox::broker::stomp::subscription::Subscription [−][src]
pub struct Subscription {
pub id: String,
pub destination: String,
pub ack_mode: AckMode,
pub headers: HeaderList,
}Fields
id: Stringdestination: Stringack_mode: AckModeheaders: HeaderListImplementations
pub fn new(
id: u32,
destination: &str,
ack_mode: AckMode,
headers: HeaderList
) -> Subscription
Auto Trait Implementations
impl RefUnwindSafe for Subscription
impl Send for Subscription
impl Sync for Subscription
impl Unpin for Subscription
impl UnwindSafe for Subscription
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr, which was obtained from a prior call to Self::borrow(),
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self. Read more