pub struct KgPathParams {
pub agent_id: String,
pub from: String,
pub to: String,
}Expand description
GET /v1/knowledge/path — shortest path between two memory IDs
Fields§
§agent_id: StringAgent ID for authorization.
from: StringSource memory ID.
to: StringTarget memory ID.
Trait Implementations§
Source§impl Debug for KgPathParams
impl Debug for KgPathParams
Source§impl<'de> Deserialize<'de> for KgPathParams
impl<'de> Deserialize<'de> for KgPathParams
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 KgPathParams
impl RefUnwindSafe for KgPathParams
impl Send for KgPathParams
impl Sync for KgPathParams
impl Unpin for KgPathParams
impl UnsafeUnpin for KgPathParams
impl UnwindSafe for KgPathParams
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