pub struct ExportedStream {
pub name: String,
pub config: StreamConfig,
pub closed: bool,
pub created_at: DateTime<Utc>,
pub updated_at: Option<DateTime<Utc>>,
pub total_bytes: u64,
pub message_count: u64,
pub next_offset: String,
pub messages: Vec<ExportedMessage>,
}Expand description
A single stream and all its messages within an ExportDocument.
Fields§
§name: StringStream name (path-style, e.g. "events/clicks").
config: StreamConfigImmutable configuration captured at create time.
closed: boolWhether the stream was closed at export time.
created_at: DateTime<Utc>When the stream was originally created.
updated_at: Option<DateTime<Utc>>When the stream was last modified (None for legacy data).
total_bytes: u64Total payload bytes across all messages.
message_count: u64Number of messages in the stream.
next_offset: StringCanonical next-offset string for reference; import generates fresh offsets so this is informational only.
messages: Vec<ExportedMessage>Ordered list of messages with base64-encoded payloads.
Trait Implementations§
Source§impl Debug for ExportedStream
impl Debug for ExportedStream
Source§impl<'de> Deserialize<'de> for ExportedStream
impl<'de> Deserialize<'de> for ExportedStream
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
Auto Trait Implementations§
impl Freeze for ExportedStream
impl RefUnwindSafe for ExportedStream
impl Send for ExportedStream
impl Sync for ExportedStream
impl Unpin for ExportedStream
impl UnsafeUnpin for ExportedStream
impl UnwindSafe for ExportedStream
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