pub struct AssistantSearchRequest {
pub metadata: Option<Value>,
pub graph_id: Option<String>,
pub name: Option<String>,
pub limit: Option<i32>,
pub offset: Option<i32>,
pub sort_by: Option<SortBy>,
pub sort_order: Option<SortOrder>,
pub select: Option<Vec<Select>>,
}Expand description
AssistantSearchRequest : Payload for listing assistants.
Fields§
§metadata: Option<Value>Metadata to filter by. Exact match filter for each KV pair.
graph_id: Option<String>The ID of the graph to filter by. The graph ID is normally set in your langgraph.json configuration.
name: Option<String>Name of the assistant to filter by. The filtering logic will match (case insensitive) assistants where ‘name’ is a substring of the assistant name.
limit: Option<i32>The maximum number of results to return.
offset: Option<i32>The number of results to skip.
sort_by: Option<SortBy>The field to sort by.
sort_order: Option<SortOrder>The order to sort by.
select: Option<Vec<Select>>Specify which fields to return. If not provided, all fields are returned.
Implementations§
Source§impl AssistantSearchRequest
impl AssistantSearchRequest
Sourcepub fn new() -> AssistantSearchRequest
pub fn new() -> AssistantSearchRequest
Payload for listing assistants.
Trait Implementations§
Source§impl Clone for AssistantSearchRequest
impl Clone for AssistantSearchRequest
Source§fn clone(&self) -> AssistantSearchRequest
fn clone(&self) -> AssistantSearchRequest
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 AssistantSearchRequest
impl Debug for AssistantSearchRequest
Source§impl Default for AssistantSearchRequest
impl Default for AssistantSearchRequest
Source§fn default() -> AssistantSearchRequest
fn default() -> AssistantSearchRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssistantSearchRequest
impl<'de> Deserialize<'de> for AssistantSearchRequest
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
Source§impl PartialEq for AssistantSearchRequest
impl PartialEq for AssistantSearchRequest
Source§impl Serialize for AssistantSearchRequest
impl Serialize for AssistantSearchRequest
impl StructuralPartialEq for AssistantSearchRequest
Auto Trait Implementations§
impl Freeze for AssistantSearchRequest
impl RefUnwindSafe for AssistantSearchRequest
impl Send for AssistantSearchRequest
impl Sync for AssistantSearchRequest
impl Unpin for AssistantSearchRequest
impl UnwindSafe for AssistantSearchRequest
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