pub struct StreamName(/* private fields */);Expand description
Human-readable name for a stream.
Implementations§
Trait Implementations§
Source§impl Clone for StreamName
impl Clone for StreamName
Source§fn clone(&self) -> StreamName
fn clone(&self) -> StreamName
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 StreamName
impl Debug for StreamName
Source§impl<'de> Deserialize<'de> for StreamName
impl<'de> Deserialize<'de> for StreamName
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 StreamName
impl Display for StreamName
Source§impl From<&str> for StreamName
impl From<&str> for StreamName
Source§impl From<StreamName> for String
impl From<StreamName> for String
Source§fn from(value: StreamName) -> Self
fn from(value: StreamName) -> Self
Converts to this type from the input type.
Source§impl From<String> for StreamName
impl From<String> for StreamName
Source§impl Hash for StreamName
impl Hash for StreamName
Source§impl Ord for StreamName
impl Ord for StreamName
Source§fn cmp(&self, other: &StreamName) -> Ordering
fn cmp(&self, other: &StreamName) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StreamName
impl PartialEq for StreamName
Source§impl PartialOrd for StreamName
impl PartialOrd for StreamName
Source§impl Serialize for StreamName
impl Serialize for StreamName
impl Eq for StreamName
impl StructuralPartialEq for StreamName
Auto Trait Implementations§
impl Freeze for StreamName
impl RefUnwindSafe for StreamName
impl Send for StreamName
impl Sync for StreamName
impl Unpin for StreamName
impl UnwindSafe for StreamName
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