pub struct FileMetaBuilder { /* private fields */ }Expand description
Builder for FileMeta.
Implementations§
Source§impl FileMetaBuilder
impl FileMetaBuilder
Sourcepub fn with_duration<VALUE: Into<u128>>(&mut self, value: VALUE) -> &mut Self
pub fn with_duration<VALUE: Into<u128>>(&mut self, value: VALUE) -> &mut Self
(Default: null) - длительность видео/аудио в секундах
Sourcepub fn with_captions<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn with_captions<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
(Default: null) - caption файла
Trait Implementations§
Source§impl Clone for FileMetaBuilder
impl Clone for FileMetaBuilder
Source§fn clone(&self) -> FileMetaBuilder
fn clone(&self) -> FileMetaBuilder
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 FileMetaBuilder
impl RefUnwindSafe for FileMetaBuilder
impl Send for FileMetaBuilder
impl Sync for FileMetaBuilder
impl Unpin for FileMetaBuilder
impl UnwindSafe for FileMetaBuilder
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