pub struct KnowledgeBase {
pub name: String,
pub description: Option<String>,
pub storage_connection_string_secret: Option<String>,
pub storage_container: Option<String>,
pub identity: Option<Value>,
pub extra: HashMap<String, Value>,
}Expand description
Azure AI Search Knowledge Base definition (Preview API)
Fields§
§name: String§description: Option<String>§storage_connection_string_secret: Option<String>§storage_container: Option<String>§identity: Option<Value>§extra: HashMap<String, Value>Catch-all for additional fields from preview API
Trait Implementations§
Source§impl Clone for KnowledgeBase
impl Clone for KnowledgeBase
Source§fn clone(&self) -> KnowledgeBase
fn clone(&self) -> KnowledgeBase
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 KnowledgeBase
impl Debug for KnowledgeBase
Source§impl<'de> Deserialize<'de> for KnowledgeBase
impl<'de> Deserialize<'de> for KnowledgeBase
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 KnowledgeBase
impl Resource for KnowledgeBase
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 identity_key() -> &'static str
fn identity_key() -> &'static str
Returns the identity key for array sorting within this resource type
Source§fn dependencies(&self) -> Vec<(ResourceKind, String)>
fn dependencies(&self) -> Vec<(ResourceKind, String)>
Returns dependencies on other resources (resource kind, name)
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 KnowledgeBase
impl RefUnwindSafe for KnowledgeBase
impl Send for KnowledgeBase
impl Sync for KnowledgeBase
impl Unpin for KnowledgeBase
impl UnwindSafe for KnowledgeBase
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