pub struct LegacyInputFile {
pub filename: Option<String>,
pub content: Option<String>,
}Expand description
Input file path or content for use in debug info.
Fields§
§filename: Option<String>Path to file in the file system.
content: Option<String>Full content of the file, typically for ephemeral files.
Trait Implementations§
Source§impl Clone for LegacyInputFile
impl Clone for LegacyInputFile
Source§fn clone(&self) -> LegacyInputFile
fn clone(&self) -> LegacyInputFile
Returns a duplicate 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 moreSource§impl Debug for LegacyInputFile
impl Debug for LegacyInputFile
Source§impl<'de> Deserialize<'de> for LegacyInputFile
impl<'de> Deserialize<'de> for LegacyInputFile
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 LegacyInputFile
impl RefUnwindSafe for LegacyInputFile
impl Send for LegacyInputFile
impl Sync for LegacyInputFile
impl Unpin for LegacyInputFile
impl UnwindSafe for LegacyInputFile
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