pub struct OrphanNote {
pub id: String,
pub node_type: String,
pub title: String,
pub file_path: Option<String>,
pub suggestions: Vec<AutoLinkSuggestion>,
}Expand description
A note with no explicit (non-auto) graph edges.
Fields§
§id: StringNode id.
node_type: StringDomain type.
title: StringTitle.
file_path: Option<String>Repo-relative path if known.
suggestions: Vec<AutoLinkSuggestion>Suggested soft links (not yet written unless auto-link is run).
Trait Implementations§
Source§impl Clone for OrphanNote
impl Clone for OrphanNote
Source§fn clone(&self) -> OrphanNote
fn clone(&self) -> OrphanNote
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 OrphanNote
impl Debug for OrphanNote
Source§impl<'de> Deserialize<'de> for OrphanNote
impl<'de> Deserialize<'de> for OrphanNote
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 OrphanNote
impl RefUnwindSafe for OrphanNote
impl Send for OrphanNote
impl Sync for OrphanNote
impl Unpin for OrphanNote
impl UnsafeUnpin for OrphanNote
impl UnwindSafe for OrphanNote
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