pub struct Service<T>{ /* private fields */ }
Implementations§
source§impl<T> Service<T>
impl<T> Service<T>
sourcepub async fn apply_writes(&self, input: Input) -> Result<(), Error<Error>>
pub async fn apply_writes(&self, input: Input) -> Result<(), Error<Error>>
Apply a batch transaction of creates, updates, and deletes.
sourcepub async fn create_record(&self, input: Input) -> Result<Output, Error<Error>>
pub async fn create_record(&self, input: Input) -> Result<Output, Error<Error>>
Create a new record.
sourcepub async fn delete_record(&self, input: Input) -> Result<(), Error<Error>>
pub async fn delete_record(&self, input: Input) -> Result<(), Error<Error>>
Delete a record, or ensure it doesn’t exist.
sourcepub async fn describe_repo(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn describe_repo( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get information about the repo, including the list of collections.
sourcepub async fn get_record(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_record( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get a record.
sourcepub async fn list_records(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn list_records( &self, params: Parameters ) -> Result<Output, Error<Error>>
List a range of records in a collection.
Auto Trait Implementations§
impl<T> RefUnwindSafe for Service<T>where
T: RefUnwindSafe,
impl<T> Send for Service<T>
impl<T> Sync for Service<T>
impl<T> Unpin for Service<T>
impl<T> UnwindSafe for Service<T>where
T: RefUnwindSafe,
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