pub struct UpsertSearchSynonymParams {
pub collection_name: String,
pub synonym_id: String,
pub search_synonym_schema: SearchSynonymSchema,
}
Expand description
struct for passing parameters to the method [upsert_search_synonym
]
Fields§
§collection_name: String
The name of the collection
synonym_id: String
The ID of the search synonym to create/update
search_synonym_schema: SearchSynonymSchema
The search synonym object to be created/updated
Trait Implementations§
Source§impl Clone for UpsertSearchSynonymParams
impl Clone for UpsertSearchSynonymParams
Source§fn clone(&self) -> UpsertSearchSynonymParams
fn clone(&self) -> UpsertSearchSynonymParams
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 moreAuto Trait Implementations§
impl Freeze for UpsertSearchSynonymParams
impl RefUnwindSafe for UpsertSearchSynonymParams
impl Send for UpsertSearchSynonymParams
impl Sync for UpsertSearchSynonymParams
impl Unpin for UpsertSearchSynonymParams
impl UnwindSafe for UpsertSearchSynonymParams
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