pub struct PinEntry {
pub path: String,
pub display_name: String,
pub format: String,
pub kind: String,
}Expand description
One row of pinned_files for list_pins. kind is “file” (openable documents) or
“dir” (explorer sidebar pinned folders); format is the document format for files
and the literal “dir” for directories, which have no document format.
Fields§
§path: String§display_name: String§format: String§kind: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for PinEntry
impl RefUnwindSafe for PinEntry
impl Send for PinEntry
impl Sync for PinEntry
impl Unpin for PinEntry
impl UnsafeUnpin for PinEntry
impl UnwindSafe for PinEntry
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