pub enum Resource {
CatalogSchema(Catalog),
CatalogItems(CatalogItems),
ContentBlock(ContentBlock),
EmailTemplate(EmailTemplate),
CustomAttributeRegistry(CustomAttributeRegistry),
}Expand description
Every resource type braze-sync manages, as a single sum type.
Adding a variant here will produce match-exhaustiveness errors at every
downstream site that consumes a Resource. That is intentional.
Variants§
CatalogSchema(Catalog)
CatalogItems(CatalogItems)
ContentBlock(ContentBlock)
EmailTemplate(EmailTemplate)
CustomAttributeRegistry(CustomAttributeRegistry)
Implementations§
Trait Implementations§
impl StructuralPartialEq for Resource
Auto Trait Implementations§
impl Freeze for Resource
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnsafeUnpin for Resource
impl UnwindSafe for Resource
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