pub struct EmbeddedFile {
pub file_type: String,
pub filename: String,
pub content_type: String,
pub content: Vec<u8>,
}Expand description
Embedded file from GLDF (image, sensor, etc.)
Fields§
§file_type: StringFile type (“image”, “sensor”, etc.)
filename: StringOriginal filename
content_type: StringContent type (MIME type, e.g., “image/png”, “sensor/sensldt”)
content: Vec<u8>File content as bytes
Trait Implementations§
Source§impl Clone for EmbeddedFile
impl Clone for EmbeddedFile
Source§impl Debug for EmbeddedFile
impl Debug for EmbeddedFile
Source§impl PartialEq for EmbeddedFile
impl PartialEq for EmbeddedFile
impl StructuralPartialEq for EmbeddedFile
Auto Trait Implementations§
impl Forget for EmbeddedFile
impl Freeze for EmbeddedFile
impl Move for EmbeddedFile
impl RefUnwindSafe for EmbeddedFile
impl Send for EmbeddedFile
impl Sync for EmbeddedFile
impl Unpin for EmbeddedFile
impl UnsafeUnpin for EmbeddedFile
impl UnwindSafe for EmbeddedFile
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