pub struct UploadStreamParams {
pub media_name: Option<CString>,
pub sample_spec: SampleSpec,
pub channel_map: ChannelMap,
pub length: u32,
pub props: Props,
}Expand description
Parameters for super::Command::CreateUploadStream.
Fields§
§media_name: Option<CString>Name of the sample.
sample_spec: SampleSpecSample format for the stream.
channel_map: ChannelMapChannel map for the stream.
length: u32Length of the sample in bytes.
props: PropsAdditional properties for the stream.
Trait Implementations§
Source§impl Clone for UploadStreamParams
impl Clone for UploadStreamParams
Source§fn clone(&self) -> UploadStreamParams
fn clone(&self) -> UploadStreamParams
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 UploadStreamParams
impl Debug for UploadStreamParams
Source§impl Default for UploadStreamParams
impl Default for UploadStreamParams
Source§fn default() -> UploadStreamParams
fn default() -> UploadStreamParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for UploadStreamParams
impl PartialEq for UploadStreamParams
Source§impl TagStructRead for UploadStreamParams
impl TagStructRead for UploadStreamParams
Source§fn read(
ts: &mut TagStructReader<'_>,
_protocol_version: u16,
) -> Result<Self, ProtocolError>
fn read( ts: &mut TagStructReader<'_>, _protocol_version: u16, ) -> Result<Self, ProtocolError>
Read an instance of
Self from a tagstruct.Source§impl TagStructWrite for UploadStreamParams
impl TagStructWrite for UploadStreamParams
Source§fn write(
&self,
ts: &mut TagStructWriter<'_>,
_protocol_version: u16,
) -> Result<(), ProtocolError>
fn write( &self, ts: &mut TagStructWriter<'_>, _protocol_version: u16, ) -> Result<(), ProtocolError>
Write
self into a tagstruct.impl Eq for UploadStreamParams
impl StructuralPartialEq for UploadStreamParams
Auto Trait Implementations§
impl Freeze for UploadStreamParams
impl RefUnwindSafe for UploadStreamParams
impl Send for UploadStreamParams
impl Sync for UploadStreamParams
impl Unpin for UploadStreamParams
impl UnwindSafe for UploadStreamParams
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