pub struct StreamKey {
pub app: AppName,
pub stream_id: StreamId,
}Expand description
Composite key uniquely identifying a stream: (app_name, stream_id).
Fields§
§app: AppNameApplication the stream belongs to.
stream_id: StreamIdStream identifier within the application.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StreamKey
impl<'de> Deserialize<'de> for StreamKey
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 StreamKey
impl StructuralPartialEq for StreamKey
Auto Trait Implementations§
impl Freeze for StreamKey
impl RefUnwindSafe for StreamKey
impl Send for StreamKey
impl Sync for StreamKey
impl Unpin for StreamKey
impl UnsafeUnpin for StreamKey
impl UnwindSafe for StreamKey
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