pub struct BatchObject<O: Serialize> {
pub create: Option<Vec<O>>,
pub update: Option<Vec<O>>,
pub delete: Option<Vec<O>>,
}
Fields§
§create: Option<Vec<O>>
§update: Option<Vec<O>>
§delete: Option<Vec<O>>
Implementations§
Trait Implementations§
Source§impl<O: Clone + Serialize> Clone for BatchObject<O>
impl<O: Clone + Serialize> Clone for BatchObject<O>
Source§fn clone(&self) -> BatchObject<O>
fn clone(&self) -> BatchObject<O>
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<'de, O> Deserialize<'de> for BatchObject<O>where
O: Deserialize<'de> + Serialize,
impl<'de, O> Deserialize<'de> for BatchObject<O>where
O: Deserialize<'de> + Serialize,
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<O> Freeze for BatchObject<O>
impl<O> RefUnwindSafe for BatchObject<O>where
O: RefUnwindSafe,
impl<O> Send for BatchObject<O>where
O: Send,
impl<O> Sync for BatchObject<O>where
O: Sync,
impl<O> Unpin for BatchObject<O>where
O: Unpin,
impl<O> UnwindSafe for BatchObject<O>where
O: UnwindSafe,
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