#[non_exhaustive]pub struct GetKnowledgeBaseRequest {
pub name: String,
/* private fields */
}Available on crate feature
knowledge-bases only.Expand description
Request message for KnowledgeBases.GetKnowledgeBase.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The name of the knowledge base to retrieve.
Format projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.
Implementations§
Trait Implementations§
Source§impl Clone for GetKnowledgeBaseRequest
impl Clone for GetKnowledgeBaseRequest
Source§fn clone(&self) -> GetKnowledgeBaseRequest
fn clone(&self) -> GetKnowledgeBaseRequest
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 GetKnowledgeBaseRequest
impl Debug for GetKnowledgeBaseRequest
Source§impl Default for GetKnowledgeBaseRequest
impl Default for GetKnowledgeBaseRequest
Source§fn default() -> GetKnowledgeBaseRequest
fn default() -> GetKnowledgeBaseRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetKnowledgeBaseRequest
impl Message for GetKnowledgeBaseRequest
Source§impl PartialEq for GetKnowledgeBaseRequest
impl PartialEq for GetKnowledgeBaseRequest
impl StructuralPartialEq for GetKnowledgeBaseRequest
Auto Trait Implementations§
impl Freeze for GetKnowledgeBaseRequest
impl RefUnwindSafe for GetKnowledgeBaseRequest
impl Send for GetKnowledgeBaseRequest
impl Sync for GetKnowledgeBaseRequest
impl Unpin for GetKnowledgeBaseRequest
impl UnwindSafe for GetKnowledgeBaseRequest
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