pub struct GoogleCloudRetailV2RuleDoNotAssociateAction {
pub do_not_associate_terms: Option<Vec<String>>,
pub query_terms: Option<Vec<String>>,
pub terms: Option<Vec<String>>,
}Expand description
Prevents query_term from being associated with specified terms during search. Example: Don’t associate “gShoe” and “cheap”.
This type is not used in any activity, and only used as part of another schema.
Fields§
§do_not_associate_terms: Option<Vec<String>>Cannot contain duplicates or the query term. Can specify up to 100 terms.
query_terms: Option<Vec<String>>Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
terms: Option<Vec<String>>Will be [deprecated = true] post migration;
Trait Implementations§
Source§impl Clone for GoogleCloudRetailV2RuleDoNotAssociateAction
impl Clone for GoogleCloudRetailV2RuleDoNotAssociateAction
Source§fn clone(&self) -> GoogleCloudRetailV2RuleDoNotAssociateAction
fn clone(&self) -> GoogleCloudRetailV2RuleDoNotAssociateAction
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 Default for GoogleCloudRetailV2RuleDoNotAssociateAction
impl Default for GoogleCloudRetailV2RuleDoNotAssociateAction
Source§fn default() -> GoogleCloudRetailV2RuleDoNotAssociateAction
fn default() -> GoogleCloudRetailV2RuleDoNotAssociateAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudRetailV2RuleDoNotAssociateAction
impl<'de> Deserialize<'de> for GoogleCloudRetailV2RuleDoNotAssociateAction
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
impl Part for GoogleCloudRetailV2RuleDoNotAssociateAction
Auto Trait Implementations§
impl Freeze for GoogleCloudRetailV2RuleDoNotAssociateAction
impl RefUnwindSafe for GoogleCloudRetailV2RuleDoNotAssociateAction
impl Send for GoogleCloudRetailV2RuleDoNotAssociateAction
impl Sync for GoogleCloudRetailV2RuleDoNotAssociateAction
impl Unpin for GoogleCloudRetailV2RuleDoNotAssociateAction
impl UnwindSafe for GoogleCloudRetailV2RuleDoNotAssociateAction
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