pub struct SynonymMap {
pub name: String,
pub format: String,
pub synonyms: String,
pub encryption_key: Option<Value>,
pub extra: HashMap<String, Value>,
}Expand description
Azure AI Search Synonym Map definition
Fields§
§name: String§format: String§synonyms: String§encryption_key: Option<Value>§extra: HashMap<String, Value>Trait Implementations§
Source§impl Clone for SynonymMap
impl Clone for SynonymMap
Source§fn clone(&self) -> SynonymMap
fn clone(&self) -> SynonymMap
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 SynonymMap
impl Debug for SynonymMap
Source§impl<'de> Deserialize<'de> for SynonymMap
impl<'de> Deserialize<'de> for SynonymMap
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 SynonymMap
impl Resource for SynonymMap
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 SynonymMap
impl RefUnwindSafe for SynonymMap
impl Send for SynonymMap
impl Sync for SynonymMap
impl Unpin for SynonymMap
impl UnwindSafe for SynonymMap
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