pub struct Written {
pub path: String,
pub file: PathBuf,
pub created: bool,
pub bytes: usize,
pub replaces_built_in: bool,
}Expand description
What a write did.
Fields§
§path: StringThe page’s path in the library, e.g. memory/style.md.
file: PathBufThe file on disk.
created: boolWhether the file is new.
bytes: usizeBytes written.
replaces_built_in: boolWhether it now hides a built-in page of the same path.
Trait Implementations§
impl Eq for Written
impl StructuralPartialEq for Written
Auto Trait Implementations§
impl Forget for Written
impl Freeze for Written
impl Move for Written
impl RefUnwindSafe for Written
impl Send for Written
impl Sync for Written
impl Unpin for Written
impl UnsafeUnpin for Written
impl UnwindSafe for Written
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