pub struct MessageQueue { /* private fields */ }
Implementations§
Source§impl MessageQueue
impl MessageQueue
pub fn new() -> Self
pub fn from_other(other: &MessageQueue) -> Self
pub fn from_parts( topic: impl Into<CheetahString>, broker_name: impl Into<CheetahString>, queue_id: i32, ) -> Self
pub fn get_topic(&self) -> &str
pub fn get_topic_cs(&self) -> &CheetahString
pub fn set_topic(&mut self, topic: CheetahString)
pub fn get_broker_name(&self) -> &CheetahString
pub fn set_broker_name(&mut self, broker_name: CheetahString)
pub fn get_queue_id(&self) -> i32
pub fn set_queue_id(&mut self, queue_id: i32)
Trait Implementations§
Source§impl Clone for MessageQueue
impl Clone for MessageQueue
Source§fn clone(&self) -> MessageQueue
fn clone(&self) -> MessageQueue
Returns a duplicate 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 MessageQueue
impl Debug for MessageQueue
Source§impl Default for MessageQueue
impl Default for MessageQueue
Source§impl<'de> Deserialize<'de> for MessageQueue
impl<'de> Deserialize<'de> for MessageQueue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MessageQueue
impl Display for MessageQueue
Source§impl Hash for MessageQueue
impl Hash for MessageQueue
Source§impl Ord for MessageQueue
impl Ord for MessageQueue
Source§impl PartialEq for MessageQueue
impl PartialEq for MessageQueue
Source§impl PartialOrd for MessageQueue
impl PartialOrd for MessageQueue
Source§impl Serialize for MessageQueue
impl Serialize for MessageQueue
impl Eq for MessageQueue
Auto Trait Implementations§
impl !Freeze for MessageQueue
impl RefUnwindSafe for MessageQueue
impl Send for MessageQueue
impl Sync for MessageQueue
impl Unpin for MessageQueue
impl UnwindSafe for MessageQueue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.