pub struct DataSource {
pub name: String,
pub datasource_type: String,
pub credentials: DataSourceCredentials,
pub container: DataSourceContainer,
pub description: Option<String>,
pub data_change_detection_policy: Option<Value>,
pub data_deletion_detection_policy: Option<Value>,
pub encryption_key: Option<Value>,
pub identity: Option<Value>,
pub extra: HashMap<String, Value>,
}Expand description
Azure AI Search Data Source definition
Fields§
§name: String§datasource_type: String§credentials: DataSourceCredentials§container: DataSourceContainer§description: Option<String>§data_change_detection_policy: Option<Value>§data_deletion_detection_policy: Option<Value>§encryption_key: Option<Value>§identity: Option<Value>§extra: HashMap<String, Value>Trait Implementations§
Source§impl Clone for DataSource
impl Clone for DataSource
Source§fn clone(&self) -> DataSource
fn clone(&self) -> DataSource
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 DataSource
impl Debug for DataSource
Source§impl<'de> Deserialize<'de> for DataSource
impl<'de> Deserialize<'de> for DataSource
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 DataSource
impl Resource for DataSource
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 DataSource
impl RefUnwindSafe for DataSource
impl Send for DataSource
impl Sync for DataSource
impl Unpin for DataSource
impl UnwindSafe for DataSource
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