Struct rust_woocommerce::BatchObject
source · pub struct BatchObject<O: Serialize> {
pub create: Option<Vec<O>>,
pub update: Option<Vec<O>>,
}Fields§
§create: Option<Vec<O>>§update: Option<Vec<O>>Implementations§
source§impl<O> BatchObject<O>where
O: Serialize,
impl<O> BatchObject<O>where
O: Serialize,
pub fn builder() -> BatchObjectBuilder<O>
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