pub struct ContextFile {
pub path: String,
pub content: String,
pub mtime: f64,
}Fields§
§path: String§content: String§mtime: f64Trait Implementations§
Source§impl Clone for ContextFile
impl Clone for ContextFile
Source§fn clone(&self) -> ContextFile
fn clone(&self) -> ContextFile
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 ContextFile
impl Debug for ContextFile
Source§impl<'de> Deserialize<'de> for ContextFile
impl<'de> Deserialize<'de> for ContextFile
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 ContextFile
impl RefUnwindSafe for ContextFile
impl Send for ContextFile
impl Sync for ContextFile
impl Unpin for ContextFile
impl UnwindSafe for ContextFile
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