Struct google_firestore1_beta1::api::BatchWriteRequest
source · pub struct BatchWriteRequest {
pub labels: Option<HashMap<String, String>>,
pub writes: Option<Vec<Write>>,
}
Expand description
The request for Firestore.BatchWrite.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- databases documents batch write projects (request)
Fields§
§labels: Option<HashMap<String, String>>
Labels associated with this batch write.
writes: Option<Vec<Write>>
The writes to apply. Method does not apply writes atomically and does not guarantee ordering. Each write succeeds or fails independently. You cannot write to the same document more than once per request.
Trait Implementations§
source§impl Clone for BatchWriteRequest
impl Clone for BatchWriteRequest
source§fn clone(&self) -> BatchWriteRequest
fn clone(&self) -> BatchWriteRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BatchWriteRequest
impl Debug for BatchWriteRequest
source§impl Default for BatchWriteRequest
impl Default for BatchWriteRequest
source§fn default() -> BatchWriteRequest
fn default() -> BatchWriteRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BatchWriteRequest
impl<'de> Deserialize<'de> for BatchWriteRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for BatchWriteRequest
impl Serialize for BatchWriteRequest
impl RequestValue for BatchWriteRequest
Auto Trait Implementations§
impl RefUnwindSafe for BatchWriteRequest
impl Send for BatchWriteRequest
impl Sync for BatchWriteRequest
impl Unpin for BatchWriteRequest
impl UnwindSafe for BatchWriteRequest
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