nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
/// Documents that already have the target property key are included in the rename.
/// The priority list determines which value wins via ordered precedence.
/// Must contain exactly the source keys + target key.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct OverwriteOnConflict {
    #[builder(default, list(item(type = super::super::super::api::PropertyName)))]
    #[serde(rename = "priority", skip_serializing_if = "Vec::is_empty", default)]
    priority: Vec<super::super::super::api::PropertyName>,
}
impl OverwriteOnConflict {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    #[inline]
    pub fn priority(&self) -> &[super::super::super::api::PropertyName] {
        &*self.priority
    }
}