pub struct PinnedFolder {
pub path: PathBuf,
pub label: String,
}
Expand description
Folder that the user pinned to the left sidebar.
Fields§
§path: PathBuf
Path to the folder.
label: String
Display name of the folder shown in the left panel.
Implementations§
Trait Implementations§
Source§impl Clone for PinnedFolder
impl Clone for PinnedFolder
Source§fn clone(&self) -> PinnedFolder
fn clone(&self) -> PinnedFolder
Returns a copy 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 moreSource§impl Debug for PinnedFolder
impl Debug for PinnedFolder
Source§impl<'de> Deserialize<'de> for PinnedFolder
impl<'de> Deserialize<'de> for PinnedFolder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PinnedFolder
impl RefUnwindSafe for PinnedFolder
impl Send for PinnedFolder
impl Sync for PinnedFolder
impl Unpin for PinnedFolder
impl UnwindSafe for PinnedFolder
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