pub struct SqliteIntegrationFieldMappingRepository { /* private fields */ }Available on crate feature
sqlite only.Implementations§
Source§impl SqliteIntegrationFieldMappingRepository
impl SqliteIntegrationFieldMappingRepository
pub const fn new(pool: Pool<SqliteConnectionManager>) -> Self
Trait Implementations§
Source§impl IntegrationFieldMappingRepository for SqliteIntegrationFieldMappingRepository
impl IntegrationFieldMappingRepository for SqliteIntegrationFieldMappingRepository
Source§fn create(
&self,
input: CreateIntegrationFieldMapping,
) -> Result<IntegrationFieldMapping>
fn create( &self, input: CreateIntegrationFieldMapping, ) -> Result<IntegrationFieldMapping>
Create a new field mapping.
Source§fn get(
&self,
id: IntegrationFieldMappingId,
) -> Result<Option<IntegrationFieldMapping>>
fn get( &self, id: IntegrationFieldMappingId, ) -> Result<Option<IntegrationFieldMapping>>
Get a field mapping by ID.
Source§fn update(
&self,
id: IntegrationFieldMappingId,
input: UpdateIntegrationFieldMapping,
) -> Result<IntegrationFieldMapping>
fn update( &self, id: IntegrationFieldMappingId, input: UpdateIntegrationFieldMapping, ) -> Result<IntegrationFieldMapping>
Update a field mapping (partial).
Source§fn list(
&self,
filter: IntegrationFieldMappingFilter,
) -> Result<Vec<IntegrationFieldMapping>>
fn list( &self, filter: IntegrationFieldMappingFilter, ) -> Result<Vec<IntegrationFieldMapping>>
List field mappings with filter.
Source§fn bulk_create(&self, items: Vec<CreateIntegrationFieldMapping>) -> Result<u64>
fn bulk_create(&self, items: Vec<CreateIntegrationFieldMapping>) -> Result<u64>
Bulk create field mappings. Returns the number created.
Source§fn bulk_delete(&self, ids: Vec<IntegrationFieldMappingId>) -> Result<u64>
fn bulk_delete(&self, ids: Vec<IntegrationFieldMappingId>) -> Result<u64>
Bulk delete field mappings by ID. Returns the number deleted.
Auto Trait Implementations§
impl !RefUnwindSafe for SqliteIntegrationFieldMappingRepository
impl !UnwindSafe for SqliteIntegrationFieldMappingRepository
impl Freeze for SqliteIntegrationFieldMappingRepository
impl Send for SqliteIntegrationFieldMappingRepository
impl Sync for SqliteIntegrationFieldMappingRepository
impl Unpin for SqliteIntegrationFieldMappingRepository
impl UnsafeUnpin for SqliteIntegrationFieldMappingRepository
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