pub struct GetKnowledgeBasesParams {
pub location_id: String,
pub query: Option<String>,
pub limit: Option<f64>,
pub last_knowledge_base_id: Option<String>,
}Available on crate feature
knowledge-base only.Expand description
Query parameters for KnowledgeBaseService::get_knowledge_bases.
Fields§
§location_id: StringlocationId query parameter.
Required by the API.
query: Option<String>search query for knowledge base name
limit: Option<f64>Maximum number of knowledge bases to return
last_knowledge_base_id: Option<String>ID of the last knowledge base from the previous page (for pagination)
Implementations§
Source§impl GetKnowledgeBasesParams
impl GetKnowledgeBasesParams
Sourcepub fn last_knowledge_base_id(self, v: impl Into<String>) -> Self
pub fn last_knowledge_base_id(self, v: impl Into<String>) -> Self
ID of the last knowledge base from the previous page (for pagination)
Trait Implementations§
Source§impl Clone for GetKnowledgeBasesParams
impl Clone for GetKnowledgeBasesParams
Source§fn clone(&self) -> GetKnowledgeBasesParams
fn clone(&self) -> GetKnowledgeBasesParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetKnowledgeBasesParams
impl Debug for GetKnowledgeBasesParams
Source§impl Default for GetKnowledgeBasesParams
impl Default for GetKnowledgeBasesParams
Source§fn default() -> GetKnowledgeBasesParams
fn default() -> GetKnowledgeBasesParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetKnowledgeBasesParams
impl RefUnwindSafe for GetKnowledgeBasesParams
impl Send for GetKnowledgeBasesParams
impl Sync for GetKnowledgeBasesParams
impl Unpin for GetKnowledgeBasesParams
impl UnsafeUnpin for GetKnowledgeBasesParams
impl UnwindSafe for GetKnowledgeBasesParams
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