pub struct GraphNeighborsRequest {
pub memory_id: String,
pub user_id: String,
pub mem_cube_id: Option<String>,
pub relation: Option<String>,
pub direction: GraphDirection,
pub limit: u32,
pub cursor: Option<String>,
pub include_embedding: bool,
pub include_deleted: bool,
}Expand description
API request for graph neighbor query.
Fields§
§memory_id: String§user_id: String§mem_cube_id: Option<String>§relation: Option<String>§direction: GraphDirection§limit: u32§cursor: Option<String>Opaque cursor token from previous response for pagination.
include_embedding: bool§include_deleted: boolTrait Implementations§
Source§impl Clone for GraphNeighborsRequest
impl Clone for GraphNeighborsRequest
Source§fn clone(&self) -> GraphNeighborsRequest
fn clone(&self) -> GraphNeighborsRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 GraphNeighborsRequest
impl Debug for GraphNeighborsRequest
Source§impl<'de> Deserialize<'de> for GraphNeighborsRequest
impl<'de> Deserialize<'de> for GraphNeighborsRequest
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 GraphNeighborsRequest
impl RefUnwindSafe for GraphNeighborsRequest
impl Send for GraphNeighborsRequest
impl Sync for GraphNeighborsRequest
impl Unpin for GraphNeighborsRequest
impl UnsafeUnpin for GraphNeighborsRequest
impl UnwindSafe for GraphNeighborsRequest
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