pub struct RootFolder {
pub absolute_path: String,
pub name: String,
pub relative_path_from_catalog: Option<String>,
/* private fields */
}Expand description
Represent the ancestor of Folder and map to
an absolute path
Fields§
§absolute_path: StringAbsolute path of the RootFolder
name: String(User readable) name of the RootFolder
relative_path_from_catalog: Option<String>Eventually if it is possible the path is relative to the catalog file.
Implementations§
Source§impl RootFolder
impl RootFolder
Sourcepub fn new(id: LrId, uuid: &str) -> RootFolder
pub fn new(id: LrId, uuid: &str) -> RootFolder
Create a new RootFolder with an id and uuid
Trait Implementations§
Source§impl Clone for RootFolder
impl Clone for RootFolder
Source§fn clone(&self) -> RootFolder
fn clone(&self) -> RootFolder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RootFolder
impl RefUnwindSafe for RootFolder
impl Send for RootFolder
impl Sync for RootFolder
impl Unpin for RootFolder
impl UnwindSafe for RootFolder
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