nominal_api/conjure/objects/scout/metadata/
overwrite_on_conflict.rs1#[derive(
5 Debug,
6 Clone,
7 conjure_object::serde::Serialize,
8 conjure_object::serde::Deserialize,
9 PartialEq,
10 Eq,
11 PartialOrd,
12 Ord,
13 Hash
14)]
15#[serde(crate = "conjure_object::serde")]
16#[conjure_object::private::staged_builder::staged_builder]
17#[builder(crate = conjure_object::private::staged_builder, update, inline)]
18pub struct OverwriteOnConflict {
19 #[builder(default, list(item(type = super::super::super::api::PropertyName)))]
20 #[serde(rename = "priority", skip_serializing_if = "Vec::is_empty", default)]
21 priority: Vec<super::super::super::api::PropertyName>,
22}
23impl OverwriteOnConflict {
24 #[inline]
26 pub fn new() -> Self {
27 Self::builder().build()
28 }
29 #[inline]
30 pub fn priority(&self) -> &[super::super::super::api::PropertyName] {
31 &*self.priority
32 }
33}