pub struct TomlMetadata {
pub size: u64,
pub modified: SystemTime,
pub permissions: Permissions,
pub variables_used: HashSet<String>,
pub functions_used: HashSet<String>,
}Expand description
TOML file metadata for tracking and validation
Fields§
§size: u64File size in bytes
modified: SystemTimeLast modification time
permissions: PermissionsFile permissions
variables_used: HashSet<String>Template variables used (for analysis)
functions_used: HashSet<String>Template functions used (for analysis)
Trait Implementations§
Source§impl Clone for TomlMetadata
impl Clone for TomlMetadata
Source§fn clone(&self) -> TomlMetadata
fn clone(&self) -> TomlMetadata
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 moreAuto Trait Implementations§
impl Freeze for TomlMetadata
impl RefUnwindSafe for TomlMetadata
impl Send for TomlMetadata
impl Sync for TomlMetadata
impl Unpin for TomlMetadata
impl UnwindSafe for TomlMetadata
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