pub struct MigrationDirectoryEntry { /* private fields */ }Expand description
One direct entry observed through a retained migration-directory handle.
Implementations§
Source§impl MigrationDirectoryEntry
impl MigrationDirectoryEntry
Sourcepub const fn is_directory(&self) -> bool
pub const fn is_directory(&self) -> bool
Return whether this entry was observed as a directory.
Sourcepub const fn is_regular(&self) -> bool
pub const fn is_regular(&self) -> bool
Return whether this entry was observed as a regular file.
Trait Implementations§
Source§impl Clone for MigrationDirectoryEntry
impl Clone for MigrationDirectoryEntry
Source§fn clone(&self) -> MigrationDirectoryEntry
fn clone(&self) -> MigrationDirectoryEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MigrationDirectoryEntry
impl Debug for MigrationDirectoryEntry
impl Eq for MigrationDirectoryEntry
Source§impl PartialEq for MigrationDirectoryEntry
impl PartialEq for MigrationDirectoryEntry
impl StructuralPartialEq for MigrationDirectoryEntry
Auto Trait Implementations§
impl Freeze for MigrationDirectoryEntry
impl RefUnwindSafe for MigrationDirectoryEntry
impl Send for MigrationDirectoryEntry
impl Sync for MigrationDirectoryEntry
impl Unpin for MigrationDirectoryEntry
impl UnsafeUnpin for MigrationDirectoryEntry
impl UnwindSafe for MigrationDirectoryEntry
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