pub struct Media {
pub form: String,
pub files: Localized,
}Expand description
A label media attachment: a form (image/audio/video) and its file(s),
which may be single- or multi-language.
Fields§
§form: StringThe media form: image, audio or video.
files: LocalizedFilenames, single (unqualified) or per-language.
Trait Implementations§
impl Eq for Media
impl StructuralPartialEq for Media
Auto Trait Implementations§
impl Freeze for Media
impl RefUnwindSafe for Media
impl Send for Media
impl Sync for Media
impl Unpin for Media
impl UnsafeUnpin for Media
impl UnwindSafe for Media
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