pub enum BatchResponseBody {
Success(Message),
Error(BatchError),
}
Expand description
Response body for a batch request
Variants§
Trait Implementations§
Source§impl Clone for BatchResponseBody
impl Clone for BatchResponseBody
Source§fn clone(&self) -> BatchResponseBody
fn clone(&self) -> BatchResponseBody
Returns a duplicate 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 BatchResponseBody
impl Debug for BatchResponseBody
Source§impl<'de> Deserialize<'de> for BatchResponseBody
impl<'de> Deserialize<'de> for BatchResponseBody
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 BatchResponseBody
impl RefUnwindSafe for BatchResponseBody
impl Send for BatchResponseBody
impl Sync for BatchResponseBody
impl Unpin for BatchResponseBody
impl UnwindSafe for BatchResponseBody
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