pub struct RollingFileInfoWithSize {
pub path: PathBuf,
pub created_at: FileNameTimeStamp,
pub size_in_bytes: u64,
}Fields§
§path: PathBuf§created_at: FileNameTimeStamp§size_in_bytes: u64Implementations§
Source§impl RollingFileInfoWithSize
impl RollingFileInfoWithSize
pub fn new(info: RollingFileInfo, size_in_bytes: u64) -> Self
Trait Implementations§
Source§impl Clone for RollingFileInfoWithSize
impl Clone for RollingFileInfoWithSize
Source§fn clone(&self) -> RollingFileInfoWithSize
fn clone(&self) -> RollingFileInfoWithSize
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 RollingFileInfoWithSize
impl Debug for RollingFileInfoWithSize
Source§impl From<RollingFileInfoWithSize> for RollingFileInfo
impl From<RollingFileInfoWithSize> for RollingFileInfo
Source§fn from(from: RollingFileInfoWithSize) -> Self
fn from(from: RollingFileInfoWithSize) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RollingFileInfoWithSize
impl PartialEq for RollingFileInfoWithSize
impl Eq for RollingFileInfoWithSize
impl StructuralPartialEq for RollingFileInfoWithSize
Auto Trait Implementations§
impl Freeze for RollingFileInfoWithSize
impl RefUnwindSafe for RollingFileInfoWithSize
impl Send for RollingFileInfoWithSize
impl Sync for RollingFileInfoWithSize
impl Unpin for RollingFileInfoWithSize
impl UnwindSafe for RollingFileInfoWithSize
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