Struct botx_api::api::v3::files::upload_file::models::FileMetaBuilder      
source · 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 copy 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 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