pub struct DurableName(pub String);Expand description
Durable consumer name for a JetStream-style subscription.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for DurableName
impl Clone for DurableName
Source§fn clone(&self) -> DurableName
fn clone(&self) -> DurableName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DurableName
impl Debug for DurableName
Source§impl<'de> Deserialize<'de> for DurableName
impl<'de> Deserialize<'de> for DurableName
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
impl Eq for DurableName
Source§impl Hash for DurableName
impl Hash for DurableName
Source§impl PartialEq for DurableName
impl PartialEq for DurableName
Source§impl Serialize for DurableName
impl Serialize for DurableName
impl StructuralPartialEq for DurableName
Auto Trait Implementations§
impl Freeze for DurableName
impl RefUnwindSafe for DurableName
impl Send for DurableName
impl Sync for DurableName
impl Unpin for DurableName
impl UnsafeUnpin for DurableName
impl UnwindSafe for DurableName
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