pub struct FileHistory<'a> { /* private fields */ }Expand description
Represents mutable file history in an MDF file.
Implementations§
Source§impl<'a> FileHistory<'a>
impl<'a> FileHistory<'a>
Sourcepub fn set_description(&mut self, description: &str) -> Result<()>
pub fn set_description(&mut self, description: &str) -> Result<()>
Sets the description of the file history.
Sourcepub fn set_tool_name(&mut self, name: &str) -> Result<()>
pub fn set_tool_name(&mut self, name: &str) -> Result<()>
Sets the tool name of the file history.
Sourcepub fn set_tool_vendor(&mut self, vendor: &str) -> Result<()>
pub fn set_tool_vendor(&mut self, vendor: &str) -> Result<()>
Sets the tool vendor of the file history.
Sourcepub fn set_tool_version(&mut self, version: &str) -> Result<()>
pub fn set_tool_version(&mut self, version: &str) -> Result<()>
Sets the tool version of the file history.
Sourcepub fn set_user_name(&mut self, user: &str) -> Result<()>
pub fn set_user_name(&mut self, user: &str) -> Result<()>
Sets the user name of the file history.
Methods from Deref<Target = FileHistoryRef<'a>>§
Sourcepub fn get_description(&self) -> String
pub fn get_description(&self) -> String
Gets the description of the file history.
Sourcepub fn get_tool_name(&self) -> String
pub fn get_tool_name(&self) -> String
Gets the tool name of the file history.
Sourcepub fn get_tool_vendor(&self) -> String
pub fn get_tool_vendor(&self) -> String
Gets the tool vendor of the file history.
Sourcepub fn get_tool_version(&self) -> String
pub fn get_tool_version(&self) -> String
Gets the tool version of the file history.
Sourcepub fn get_user_name(&self) -> String
pub fn get_user_name(&self) -> String
Gets the user name of the file history.
Sourcepub fn get_metadata(&self) -> Option<MetaDataRef<'a>>
pub fn get_metadata(&self) -> Option<MetaDataRef<'a>>
Gets the metadata of the file history.
Trait Implementations§
Source§impl<'a> Debug for FileHistory<'a>
impl<'a> Debug for FileHistory<'a>
Auto Trait Implementations§
impl<'a> Freeze for FileHistory<'a>
impl<'a> RefUnwindSafe for FileHistory<'a>
impl<'a> !Send for FileHistory<'a>
impl<'a> !Sync for FileHistory<'a>
impl<'a> Unpin for FileHistory<'a>
impl<'a> UnsafeUnpin for FileHistory<'a>
impl<'a> UnwindSafe for FileHistory<'a>
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