Struct persist::indexed::encoding::StreamRegistration [−][src]
pub struct StreamRegistration {
pub name: String,
pub id: Id,
pub key_codec_name: String,
pub val_codec_name: String,
}
Expand description
Registration information for a single stream.
Fields
name: String
The external stream name.
id: Id
The internal stream id.
key_codec_name: String
The codec used to encode and decode keys in this stream.
val_codec_name: String
The codec used to encode and decode values in this stream.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StreamRegistration
impl Send for StreamRegistration
impl Sync for StreamRegistration
impl Unpin for StreamRegistration
impl UnwindSafe for StreamRegistration
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more