pub struct PickResult {
pub bookmark_id: String,
pub file_name: String,
pub file_path: String,
pub content: String,
}Expand description
Returned when the user picks a file and a bookmark is created.
Fields§
§bookmark_id: StringOpaque bookmark identifier (UUID string).
file_name: StringDisplay filename (e.g. “notes.md”).
file_path: StringOriginal file path for display in recent/resume UI.
content: StringFull UTF-8 content of the file.
Trait Implementations§
Source§impl Clone for PickResult
impl Clone for PickResult
Source§fn clone(&self) -> PickResult
fn clone(&self) -> PickResult
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 moreSource§impl Debug for PickResult
impl Debug for PickResult
Source§impl<'de> Deserialize<'de> for PickResult
impl<'de> Deserialize<'de> for PickResult
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 PickResult
impl RefUnwindSafe for PickResult
impl Send for PickResult
impl Sync for PickResult
impl Unpin for PickResult
impl UnsafeUnpin for PickResult
impl UnwindSafe for PickResult
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