pub struct KnowledgeSource {
pub name: String,
pub index_name: String,
pub description: Option<String>,
pub knowledge_base_name: Option<String>,
pub query_type: Option<String>,
pub semantic_configuration: Option<String>,
pub top: Option<i32>,
pub filter: Option<String>,
pub select_fields: Option<Vec<String>>,
pub extra: HashMap<String, Value>,
}Expand description
Azure AI Search Knowledge Source definition (Preview API)
Fields§
§name: String§index_name: String§description: Option<String>§knowledge_base_name: Option<String>§query_type: Option<String>§semantic_configuration: Option<String>§top: Option<i32>§filter: Option<String>§select_fields: Option<Vec<String>>§extra: HashMap<String, Value>Catch-all for additional fields from preview API
Trait Implementations§
Source§impl Clone for KnowledgeSource
impl Clone for KnowledgeSource
Source§fn clone(&self) -> KnowledgeSource
fn clone(&self) -> KnowledgeSource
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 KnowledgeSource
impl Debug for KnowledgeSource
Source§impl<'de> Deserialize<'de> for KnowledgeSource
impl<'de> Deserialize<'de> for KnowledgeSource
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 Resource for KnowledgeSource
impl Resource for KnowledgeSource
Source§fn kind() -> ResourceKind
fn kind() -> ResourceKind
Returns the resource kind
Source§fn volatile_fields() -> &'static [&'static str]
fn volatile_fields() -> &'static [&'static str]
Returns fields that should be stripped during normalization (pull and push).
These are truly transient or sensitive: OData metadata, secrets, credentials.
Source§fn read_only_fields() -> &'static [&'static str]
fn read_only_fields() -> &'static [&'static str]
Returns fields that are read-only — Azure returns them in GET but rejects
them in PUT. These are kept in local files for documentation (e.g. showing
which resources are connected) but stripped before pushing to Azure.
Source§fn dependencies(&self) -> Vec<(ResourceKind, String)>
fn dependencies(&self) -> Vec<(ResourceKind, String)>
Returns dependencies on other resources (resource kind, name)
Source§fn identity_key() -> &'static str
fn identity_key() -> &'static str
Returns the identity key for array sorting within this resource type
Source§fn immutable_fields() -> &'static [&'static str]
fn immutable_fields() -> &'static [&'static str]
Returns fields that are immutable after creation
Auto Trait Implementations§
impl Freeze for KnowledgeSource
impl RefUnwindSafe for KnowledgeSource
impl Send for KnowledgeSource
impl Sync for KnowledgeSource
impl Unpin for KnowledgeSource
impl UnwindSafe for KnowledgeSource
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