Impl Display for TimeTrackingTag
This commit is contained in:
parent
b4ff528a2c
commit
03e70721e6
1 changed files with 9 additions and 0 deletions
|
@ -17,6 +17,9 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
use std::fmt::Display;
|
||||
use std::fmt::Error as FmtError;
|
||||
use std::fmt::Formatter;
|
||||
use std::path::PathBuf;
|
||||
|
||||
use libimagstore::store::Result as StoreResult;
|
||||
|
@ -34,6 +37,12 @@ impl TimeTrackingTag {
|
|||
}
|
||||
}
|
||||
|
||||
impl Display for TimeTrackingTag {
|
||||
fn fmt(&self, f: &mut Formatter) -> Result<(), FmtError> {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
|
||||
impl Into<String> for TimeTrackingTag {
|
||||
fn into(self) -> String {
|
||||
self.0
|
||||
|
|
Loading…
Reference in a new issue