pub struct NamespaceStreamId {
pub kind: NamespaceStreamKind,
pub name: Option<String>,
}Expand description
Opaque identifier for a namespace stream.
Fields§
§kind: NamespaceStreamKindGeneric stream kind.
name: Option<String>Optional stream or fork name.
Implementations§
Source§impl NamespaceStreamId
impl NamespaceStreamId
Sourcepub fn named_data(name: impl Into<String>) -> Self
pub fn named_data(name: impl Into<String>) -> Self
Construct a named data stream identifier.
Trait Implementations§
Source§impl Clone for NamespaceStreamId
impl Clone for NamespaceStreamId
Source§fn clone(&self) -> NamespaceStreamId
fn clone(&self) -> NamespaceStreamId
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 NamespaceStreamId
impl Debug for NamespaceStreamId
Source§impl Hash for NamespaceStreamId
impl Hash for NamespaceStreamId
Source§impl PartialEq for NamespaceStreamId
impl PartialEq for NamespaceStreamId
impl Eq for NamespaceStreamId
impl StructuralPartialEq for NamespaceStreamId
Auto Trait Implementations§
impl Freeze for NamespaceStreamId
impl RefUnwindSafe for NamespaceStreamId
impl Send for NamespaceStreamId
impl Sync for NamespaceStreamId
impl Unpin for NamespaceStreamId
impl UnsafeUnpin for NamespaceStreamId
impl UnwindSafe for NamespaceStreamId
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> 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.