pub struct DocumentListQuery {
pub knowledge_id: String,
pub page: Option<u32>,
pub size: Option<u32>,
pub word: Option<String>,
}Expand description
Query parameters for listing documents under a knowledge base
Fields§
§knowledge_id: StringKnowledge base id (required)
page: Option<u32>Page index (default 1)
size: Option<u32>Page size (default 10)
word: Option<String>Document name filter
Implementations§
Trait Implementations§
Source§impl Clone for DocumentListQuery
impl Clone for DocumentListQuery
Source§fn clone(&self) -> DocumentListQuery
fn clone(&self) -> DocumentListQuery
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 DocumentListQuery
impl Debug for DocumentListQuery
Source§impl Serialize for DocumentListQuery
impl Serialize for DocumentListQuery
Source§impl Validate for DocumentListQuery
impl Validate for DocumentListQuery
Source§impl<'v_a> ValidateArgs<'v_a> for DocumentListQuery
impl<'v_a> ValidateArgs<'v_a> for DocumentListQuery
Auto Trait Implementations§
impl Freeze for DocumentListQuery
impl RefUnwindSafe for DocumentListQuery
impl Send for DocumentListQuery
impl Sync for DocumentListQuery
impl Unpin for DocumentListQuery
impl UnwindSafe for DocumentListQuery
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