pub struct ResourceConfig {
pub enabled: bool,
pub path: PathBuf,
pub exclude_patterns: Vec<String>,
pub apply_order: ApplyOrder,
}Fields§
§enabled: bool§path: PathBuf§exclude_patterns: Vec<String>Regex patterns (matched against resource name) that mark a
resource as managed out of band. Names matching any pattern
are skipped by export, diff, apply, and validate so
Braze reserved attributes (_unset) or camelCase duplicates
don’t produce noise. See docs/configuration.md §exclude_patterns.
apply_order: ApplyOrderApply-time ordering policy. Currently consulted only by
content_block apply, which uses Dependency to topologically
sort {{content_blocks.${other}}} references so a referrer is
never created before its target. The field is shared on
ResourceConfig (rather than scoped to a content_block-only
type) to keep ResourcesConfig::for_kind type-stable; setting
it on other resource kinds is accepted but inert.
Trait Implementations§
Source§impl Clone for ResourceConfig
impl Clone for ResourceConfig
Source§fn clone(&self) -> ResourceConfig
fn clone(&self) -> ResourceConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResourceConfig
impl Debug for ResourceConfig
Source§impl<'de> Deserialize<'de> for ResourceConfig
impl<'de> Deserialize<'de> for ResourceConfig
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
Auto Trait Implementations§
impl Freeze for ResourceConfig
impl RefUnwindSafe for ResourceConfig
impl Send for ResourceConfig
impl Sync for ResourceConfig
impl Unpin for ResourceConfig
impl UnsafeUnpin for ResourceConfig
impl UnwindSafe for ResourceConfig
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