Skip to main content

nominal_api/conjure/objects/scout/metadata/
skip_on_conflict.rs

1/// Documents are skipped when:
2/// - The target property key already exists on the document, or
3/// - Multiple source property keys exist on the document (ambiguous merge).
4/// Conflicting document RIDs are returned in the response.
5#[derive(
6    Debug,
7    Clone,
8    conjure_object::serde::Serialize,
9    conjure_object::serde::Deserialize,
10    PartialEq,
11    Eq,
12    PartialOrd,
13    Ord,
14    Hash,
15    Copy
16)]
17#[serde(crate = "conjure_object::serde")]
18#[conjure_object::private::staged_builder::staged_builder]
19#[builder(crate = conjure_object::private::staged_builder, update, inline)]
20pub struct SkipOnConflict {}
21impl SkipOnConflict {
22    /// Constructs a new instance of the type.
23    #[inline]
24    pub fn new() -> Self {
25        Self::builder().build()
26    }
27}