pub enum ReturnRepresentation {
Full,
Minimal,
HeadersOnly,
}Expand description
Return representation preference for mutations
Variants§
Full
Return full representation of affected rows
Minimal
Return minimal data (just status)
HeadersOnly
Return only headers
Trait Implementations§
Source§impl Clone for ReturnRepresentation
impl Clone for ReturnRepresentation
Source§fn clone(&self) -> ReturnRepresentation
fn clone(&self) -> ReturnRepresentation
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 ReturnRepresentation
impl Debug for ReturnRepresentation
Source§impl Default for ReturnRepresentation
impl Default for ReturnRepresentation
Source§fn default() -> ReturnRepresentation
fn default() -> ReturnRepresentation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReturnRepresentation
impl<'de> Deserialize<'de> for ReturnRepresentation
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 Hash for ReturnRepresentation
impl Hash for ReturnRepresentation
Source§impl PartialEq for ReturnRepresentation
impl PartialEq for ReturnRepresentation
Source§impl Serialize for ReturnRepresentation
impl Serialize for ReturnRepresentation
impl Copy for ReturnRepresentation
impl Eq for ReturnRepresentation
impl StructuralPartialEq for ReturnRepresentation
Auto Trait Implementations§
impl Freeze for ReturnRepresentation
impl RefUnwindSafe for ReturnRepresentation
impl Send for ReturnRepresentation
impl Sync for ReturnRepresentation
impl Unpin for ReturnRepresentation
impl UnwindSafe for ReturnRepresentation
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