pub struct Domain {
pub identifier: String,
pub directory: PathBuf,
}Expand description
Represents the domain to which the logger belongs, the logs will be organized by domain.
Fields§
§identifier: StringUsed to identity a specific domain for logger.
directory: PathBufUsed to specify the directory where the log files for this domian are stored.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Domain
impl RefUnwindSafe for Domain
impl Send for Domain
impl Sync for Domain
impl Unpin for Domain
impl UnwindSafe for Domain
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