pub struct ByteStreamInfo {
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 name: String,
pub encryption_type: EncryptionType,
}Expand description
Information about a byte 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.
name: StringThe name of the file being sent.
encryption_type: EncryptionTypeThe encryption used
Trait Implementations§
Source§impl Clone for ByteStreamInfo
impl Clone for ByteStreamInfo
Source§fn clone(&self) -> ByteStreamInfo
fn clone(&self) -> ByteStreamInfo
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 ByteStreamInfo
impl RefUnwindSafe for ByteStreamInfo
impl Send for ByteStreamInfo
impl Sync for ByteStreamInfo
impl Unpin for ByteStreamInfo
impl UnsafeUnpin for ByteStreamInfo
impl UnwindSafe for ByteStreamInfo
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