pub struct StreamByteOptions {
pub topic: String,
pub attributes: HashMap<String, String>,
pub destination_identities: Vec<ParticipantIdentity>,
pub id: Option<String>,
pub mime_type: Option<String>,
pub name: Option<String>,
pub total_length: Option<u64>,
}Expand description
Options used when opening an outgoing byte data stream.
Fields§
§topic: String§attributes: HashMap<String, String>§destination_identities: Vec<ParticipantIdentity>§id: Option<String>§mime_type: Option<String>§name: Option<String>§total_length: Option<u64>Trait Implementations§
Source§impl Clone for StreamByteOptions
impl Clone for StreamByteOptions
Source§fn clone(&self) -> StreamByteOptions
fn clone(&self) -> StreamByteOptions
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 moreSource§impl Debug for StreamByteOptions
impl Debug for StreamByteOptions
Source§impl Default for StreamByteOptions
impl Default for StreamByteOptions
Source§fn default() -> StreamByteOptions
fn default() -> StreamByteOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for StreamByteOptions
impl PartialEq for StreamByteOptions
impl Eq for StreamByteOptions
impl StructuralPartialEq for StreamByteOptions
Auto Trait Implementations§
impl Freeze for StreamByteOptions
impl RefUnwindSafe for StreamByteOptions
impl Send for StreamByteOptions
impl Sync for StreamByteOptions
impl Unpin for StreamByteOptions
impl UnsafeUnpin for StreamByteOptions
impl UnwindSafe for StreamByteOptions
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