pub struct ResourcesConfig {
pub catalog_schema: ResourceConfig,
pub content_block: ResourceConfig,
pub email_template: ResourceConfig,
pub custom_attribute: ResourceConfig,
pub tag: ResourceConfig,
}Fields§
§catalog_schema: ResourceConfig§content_block: ResourceConfig§email_template: ResourceConfig§custom_attribute: ResourceConfig§tag: ResourceConfigImplementations§
Source§impl ResourcesConfig
impl ResourcesConfig
pub fn for_kind(&self, kind: ResourceKind) -> &ResourceConfig
pub fn is_enabled(&self, kind: ResourceKind) -> bool
Trait Implementations§
Source§impl Clone for ResourcesConfig
impl Clone for ResourcesConfig
Source§fn clone(&self) -> ResourcesConfig
fn clone(&self) -> ResourcesConfig
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 ResourcesConfig
impl Debug for ResourcesConfig
Source§impl Default for ResourcesConfig
impl Default for ResourcesConfig
Source§impl<'de> Deserialize<'de> for ResourcesConfig
impl<'de> Deserialize<'de> for ResourcesConfig
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 ResourcesConfig
impl RefUnwindSafe for ResourcesConfig
impl Send for ResourcesConfig
impl Sync for ResourcesConfig
impl Unpin for ResourcesConfig
impl UnsafeUnpin for ResourcesConfig
impl UnwindSafe for ResourcesConfig
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