pub struct TextStreamInfo {
pub id: String,
pub topic: String,
pub timestamp: DateTime<Utc>,
pub total_length: Option<u64>,
pub attributes: HashMap<String, String>,
pub mime_type: String,
pub operation_type: OperationType,
pub version: i32,
pub reply_to_stream_id: Option<String>,
pub attached_stream_ids: Vec<String>,
pub generated: bool,
pub encryption_type: EncryptionType,
}Expand description
Information about a text data stream.
Fields§
§id: StringUnique identifier of the stream.
topic: StringTopic name used to route the stream to the appropriate handler.
timestamp: DateTime<Utc>When the stream was created.
total_length: Option<u64>Total expected size in bytes, if known.
attributes: HashMap<String, String>Additional attributes as needed for your application.
mime_type: StringThe MIME type of the stream data.
operation_type: OperationType§version: i32§reply_to_stream_id: Option<String>§attached_stream_ids: Vec<String>§generated: bool§encryption_type: EncryptionTypeThe encryption used
Trait Implementations§
Source§impl Clone for TextStreamInfo
impl Clone for TextStreamInfo
Source§fn clone(&self) -> TextStreamInfo
fn clone(&self) -> TextStreamInfo
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 moreAuto Trait Implementations§
impl Freeze for TextStreamInfo
impl RefUnwindSafe for TextStreamInfo
impl Send for TextStreamInfo
impl Sync for TextStreamInfo
impl Unpin for TextStreamInfo
impl UnsafeUnpin for TextStreamInfo
impl UnwindSafe for TextStreamInfo
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