Struct firestore::FirestoreSimpleBatchWriter
source · pub struct FirestoreSimpleBatchWriter {
pub db: FirestoreDb,
pub options: FirestoreSimpleBatchWriteOptions,
pub batch_span: Span,
}
Fields§
§db: FirestoreDb
§options: FirestoreSimpleBatchWriteOptions
§batch_span: Span
Implementations§
source§impl FirestoreSimpleBatchWriter
impl FirestoreSimpleBatchWriter
pub async fn new<'b>( db: FirestoreDb, options: FirestoreSimpleBatchWriteOptions ) -> FirestoreResult<FirestoreSimpleBatchWriter>
pub fn new_batch(&self) -> FirestoreBatch<'_, FirestoreSimpleBatchWriter>
Trait Implementations§
source§impl FirestoreBatchWriter for FirestoreSimpleBatchWriter
impl FirestoreBatchWriter for FirestoreSimpleBatchWriter
type WriteResult = FirestoreBatchWriteResponse
fn write<'life0, 'async_trait>( &'life0 self, writes: Vec<Write> ) -> Pin<Box<dyn Future<Output = FirestoreResult<FirestoreBatchWriteResponse>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for FirestoreSimpleBatchWriter
impl Send for FirestoreSimpleBatchWriter
impl Sync for FirestoreSimpleBatchWriter
impl Unpin for FirestoreSimpleBatchWriter
impl !UnwindSafe for FirestoreSimpleBatchWriter
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request