pub struct AutoLinkSuggestion {
pub target_id: String,
pub target_title: String,
pub target_path: Option<String>,
pub relation_type: String,
pub weight: f32,
pub reason: String,
}Expand description
One proposed or applied soft edge endpoint.
Fields§
§target_id: StringOther node id.
target_title: StringOther node title (best-effort).
target_path: Option<String>Other path if known.
relation_type: Stringauto_filename / auto_tag / …
weight: f32Soft weight.
reason: StringHuman-readable reason.
Trait Implementations§
Source§impl Clone for AutoLinkSuggestion
impl Clone for AutoLinkSuggestion
Source§fn clone(&self) -> AutoLinkSuggestion
fn clone(&self) -> AutoLinkSuggestion
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 AutoLinkSuggestion
impl Debug for AutoLinkSuggestion
Source§impl<'de> Deserialize<'de> for AutoLinkSuggestion
impl<'de> Deserialize<'de> for AutoLinkSuggestion
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 AutoLinkSuggestion
impl RefUnwindSafe for AutoLinkSuggestion
impl Send for AutoLinkSuggestion
impl Sync for AutoLinkSuggestion
impl Unpin for AutoLinkSuggestion
impl UnsafeUnpin for AutoLinkSuggestion
impl UnwindSafe for AutoLinkSuggestion
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