pub struct FileMessage { /* private fields */ }
Expand description
A file message.
Implementations§
Source§impl FileMessage
impl FileMessage
Sourcepub fn builder(
file_blob_id: BlobId,
blob_encryption_key: Key,
media_type: impl Into<String>,
file_size_bytes: u32,
) -> FileMessageBuilder
pub fn builder( file_blob_id: BlobId, blob_encryption_key: Key, media_type: impl Into<String>, file_size_bytes: u32, ) -> FileMessageBuilder
Shortcut for FileMessageBuilder::new
.
Trait Implementations§
Source§impl Debug for FileMessage
impl Debug for FileMessage
Auto Trait Implementations§
impl Freeze for FileMessage
impl RefUnwindSafe for FileMessage
impl Send for FileMessage
impl Sync for FileMessage
impl Unpin for FileMessage
impl UnwindSafe for FileMessage
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