pub struct IntegrationMappings { /* private fields */ }Expand description
Integration mapping operations.
Implementations§
Source§impl IntegrationMappings
impl IntegrationMappings
Sourcepub fn is_supported(&self) -> bool
pub fn is_supported(&self) -> bool
Whether integration mappings are supported by the active backend.
Sourcepub fn create(
&self,
input: CreateIntegrationMapping,
) -> Result<IntegrationMapping>
pub fn create( &self, input: CreateIntegrationMapping, ) -> Result<IntegrationMapping>
Create a new integration mapping.
Sourcepub fn get(
&self,
id: IntegrationMappingId,
) -> Result<Option<IntegrationMapping>>
pub fn get( &self, id: IntegrationMappingId, ) -> Result<Option<IntegrationMapping>>
Get a mapping by ID.
Sourcepub fn update(
&self,
id: IntegrationMappingId,
input: UpdateIntegrationMapping,
) -> Result<IntegrationMapping>
pub fn update( &self, id: IntegrationMappingId, input: UpdateIntegrationMapping, ) -> Result<IntegrationMapping>
Update a mapping.
Sourcepub fn list(
&self,
filter: IntegrationMappingFilter,
) -> Result<Vec<IntegrationMapping>>
pub fn list( &self, filter: IntegrationMappingFilter, ) -> Result<Vec<IntegrationMapping>>
List mappings with optional filtering.
Sourcepub fn delete(&self, id: IntegrationMappingId) -> Result<()>
pub fn delete(&self, id: IntegrationMappingId) -> Result<()>
Delete a mapping.
Sourcepub fn bulk_upsert(&self, items: Vec<CreateIntegrationMapping>) -> Result<u64>
pub fn bulk_upsert(&self, items: Vec<CreateIntegrationMapping>) -> Result<u64>
Bulk upsert mappings. Returns the number of rows affected.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for IntegrationMappings
impl !UnwindSafe for IntegrationMappings
impl Freeze for IntegrationMappings
impl Send for IntegrationMappings
impl Sync for IntegrationMappings
impl Unpin for IntegrationMappings
impl UnsafeUnpin for IntegrationMappings
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