pub struct MetaFile {
pub file_path: String,
pub encoding: Option<String>,
}Expand description
Reference to a file in the flash package
Fields§
§file_path: StringPath to the file
encoding: Option<String>Optional encoding for text files
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MetaFile
impl<'de> Deserialize<'de> for MetaFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MetaFile
impl RefUnwindSafe for MetaFile
impl Send for MetaFile
impl Sync for MetaFile
impl Unpin for MetaFile
impl UnsafeUnpin for MetaFile
impl UnwindSafe for MetaFile
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