Struct cobble_core::minecraft::LogFile
source · pub struct LogFile {
pub name: String,
pub path: PathBuf,
pub _type: LogFileType,
pub modified: Option<OffsetDateTime>,
}
Expand description
Represents a single log file. On each launch the game creates a new log file and compresses the old one.
Fields
name: String
Filename
path: PathBuf
Filepath
_type: LogFileType
Type
modified: Option<OffsetDateTime>
Modified timestamp on filesystem
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for LogFile
impl<'de> Deserialize<'de> for LogFile
sourcefn 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 RefUnwindSafe for LogFile
impl Send for LogFile
impl Sync for LogFile
impl Unpin for LogFile
impl UnwindSafe for LogFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more