pub struct PageSource {
pub page_id: String,
pub memory_source_id: String,
pub linked_at: i64,
pub link_reason: Option<String>,
}Expand description
A link between a page and one of its source memories.
(Backed by the concept_sources SQL table; rename deferred for back-compat.)
Fields§
§page_id: String§memory_source_id: String§linked_at: i64Unix timestamp of when this link was created.
link_reason: Option<String>Trait Implementations§
Source§impl Clone for PageSource
impl Clone for PageSource
Source§fn clone(&self) -> PageSource
fn clone(&self) -> PageSource
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 PageSource
impl Debug for PageSource
Source§impl<'de> Deserialize<'de> for PageSource
impl<'de> Deserialize<'de> for PageSource
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 PageSource
impl RefUnwindSafe for PageSource
impl Send for PageSource
impl Sync for PageSource
impl Unpin for PageSource
impl UnsafeUnpin for PageSource
impl UnwindSafe for PageSource
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