pub struct KgExportParams {
pub agent_id: String,
pub format: String,
}Expand description
GET /v1/knowledge/export — export graph as JSON or GraphML
Fields§
§agent_id: StringAgent ID whose graph to export.
format: StringExport format: “json” (default) or “graphml”.
Trait Implementations§
Source§impl Debug for KgExportParams
impl Debug for KgExportParams
Source§impl<'de> Deserialize<'de> for KgExportParams
impl<'de> Deserialize<'de> for KgExportParams
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 KgExportParams
impl RefUnwindSafe for KgExportParams
impl Send for KgExportParams
impl Sync for KgExportParams
impl Unpin for KgExportParams
impl UnsafeUnpin for KgExportParams
impl UnwindSafe for KgExportParams
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