pub struct KnowledgeRef {
pub id: i64,
pub source: String,
pub content: String,
pub tags: Vec<String>,
}Expand description
Reference to a knowledge record selected for this view.
Fields§
§id: i64§source: String§content: StringTrait Implementations§
Source§impl Clone for KnowledgeRef
impl Clone for KnowledgeRef
Source§fn clone(&self) -> KnowledgeRef
fn clone(&self) -> KnowledgeRef
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 KnowledgeRef
impl Debug for KnowledgeRef
Source§impl<'de> Deserialize<'de> for KnowledgeRef
impl<'de> Deserialize<'de> for KnowledgeRef
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 KnowledgeRef
impl RefUnwindSafe for KnowledgeRef
impl Send for KnowledgeRef
impl Sync for KnowledgeRef
impl Unpin for KnowledgeRef
impl UnsafeUnpin for KnowledgeRef
impl UnwindSafe for KnowledgeRef
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