pub struct IntegrationFieldMappings { /* private fields */ }Expand description
Integration field-mapping operations.
Implementations§
Source§impl IntegrationFieldMappings
impl IntegrationFieldMappings
Sourcepub fn is_supported(&self) -> bool
pub fn is_supported(&self) -> bool
Whether integration field mappings are supported by the active backend.
Sourcepub fn create(
&self,
input: CreateIntegrationFieldMapping,
) -> Result<IntegrationFieldMapping>
pub fn create( &self, input: CreateIntegrationFieldMapping, ) -> Result<IntegrationFieldMapping>
Create a field mapping.
Sourcepub fn get(
&self,
id: IntegrationFieldMappingId,
) -> Result<Option<IntegrationFieldMapping>>
pub fn get( &self, id: IntegrationFieldMappingId, ) -> Result<Option<IntegrationFieldMapping>>
Get a field mapping by ID.
Sourcepub fn update(
&self,
id: IntegrationFieldMappingId,
input: UpdateIntegrationFieldMapping,
) -> Result<IntegrationFieldMapping>
pub fn update( &self, id: IntegrationFieldMappingId, input: UpdateIntegrationFieldMapping, ) -> Result<IntegrationFieldMapping>
Update a field mapping.
Sourcepub fn list(
&self,
filter: IntegrationFieldMappingFilter,
) -> Result<Vec<IntegrationFieldMapping>>
pub fn list( &self, filter: IntegrationFieldMappingFilter, ) -> Result<Vec<IntegrationFieldMapping>>
List field mappings with optional filtering.
Sourcepub fn delete(&self, id: IntegrationFieldMappingId) -> Result<()>
pub fn delete(&self, id: IntegrationFieldMappingId) -> Result<()>
Delete a field mapping.
Sourcepub fn bulk_create(
&self,
items: Vec<CreateIntegrationFieldMapping>,
) -> Result<u64>
pub fn bulk_create( &self, items: Vec<CreateIntegrationFieldMapping>, ) -> Result<u64>
Bulk create field mappings.
Sourcepub fn bulk_delete(&self, ids: Vec<IntegrationFieldMappingId>) -> Result<u64>
pub fn bulk_delete(&self, ids: Vec<IntegrationFieldMappingId>) -> Result<u64>
Bulk delete field mappings by ID.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for IntegrationFieldMappings
impl !UnwindSafe for IntegrationFieldMappings
impl Freeze for IntegrationFieldMappings
impl Send for IntegrationFieldMappings
impl Sync for IntegrationFieldMappings
impl Unpin for IntegrationFieldMappings
impl UnsafeUnpin for IntegrationFieldMappings
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