pub enum PythonDtoStyle {
Dataclass,
TypedDict,
Pydantic,
Msgspec,
}Variants§
Trait Implementations§
Source§impl Clone for PythonDtoStyle
impl Clone for PythonDtoStyle
Source§fn clone(&self) -> PythonDtoStyle
fn clone(&self) -> PythonDtoStyle
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 PythonDtoStyle
impl Debug for PythonDtoStyle
Source§impl Default for PythonDtoStyle
impl Default for PythonDtoStyle
Source§fn default() -> PythonDtoStyle
fn default() -> PythonDtoStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PythonDtoStyle
impl<'de> Deserialize<'de> for PythonDtoStyle
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 PartialEq for PythonDtoStyle
impl PartialEq for PythonDtoStyle
Source§impl Serialize for PythonDtoStyle
impl Serialize for PythonDtoStyle
impl Copy for PythonDtoStyle
impl Eq for PythonDtoStyle
impl StructuralPartialEq for PythonDtoStyle
Auto Trait Implementations§
impl Freeze for PythonDtoStyle
impl RefUnwindSafe for PythonDtoStyle
impl Send for PythonDtoStyle
impl Sync for PythonDtoStyle
impl Unpin for PythonDtoStyle
impl UnsafeUnpin for PythonDtoStyle
impl UnwindSafe for PythonDtoStyle
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