pub struct KnowledgeLinkClient<'a> { /* private fields */ }Expand description
Knowledge Links: bidirectional associations between Memory, Gene, Capsule, Signal entities (v1.8.0).
Implementations§
Source§impl<'a> KnowledgeLinkClient<'a>
impl<'a> KnowledgeLinkClient<'a>
Sourcepub async fn get_links(
&self,
entity_type: &str,
entity_id: &str,
) -> Result<ApiResponse<Vec<Value>>, PrismerError>
pub async fn get_links( &self, entity_type: &str, entity_id: &str, ) -> Result<ApiResponse<Vec<Value>>, PrismerError>
Get all knowledge links for a given entity.
entity_type must be one of: "memory", "gene", "capsule", "signal".
Auto Trait Implementations§
impl<'a> Freeze for KnowledgeLinkClient<'a>
impl<'a> !RefUnwindSafe for KnowledgeLinkClient<'a>
impl<'a> Send for KnowledgeLinkClient<'a>
impl<'a> Sync for KnowledgeLinkClient<'a>
impl<'a> Unpin for KnowledgeLinkClient<'a>
impl<'a> UnsafeUnpin for KnowledgeLinkClient<'a>
impl<'a> !UnwindSafe for KnowledgeLinkClient<'a>
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