pub struct Write {
pub update_mask: Option<DocumentMask>,
pub update_transforms: Option<Vec<FieldTransform>>,
pub current_document: Option<Precondition>,
pub operation: WriteOperation,
}Expand description
A write operation.
Fields§
§update_mask: Option<DocumentMask>The fields to update.
update_transforms: Option<Vec<FieldTransform>>The transforms to perform after update.
current_document: Option<Precondition>An optional precondition on the document.
operation: WriteOperationThe operation to perform.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Write
impl<'de> Deserialize<'de> for Write
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
Auto Trait Implementations§
impl Freeze for Write
impl RefUnwindSafe for Write
impl Send for Write
impl Sync for Write
impl Unpin for Write
impl UnwindSafe for Write
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