Enum clean_base::dtos::UntaggedChildren
source · pub enum UntaggedChildren<T, U> {
Records(Vec<T>),
Ids(Vec<U>),
}
Variants§
Trait Implementations§
source§impl<T: Clone, U: Clone> Clone for UntaggedChildren<T, U>
impl<T: Clone, U: Clone> Clone for UntaggedChildren<T, U>
source§fn clone(&self) -> UntaggedChildren<T, U>
fn clone(&self) -> UntaggedChildren<T, U>
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, T, U> Deserialize<'de> for UntaggedChildren<T, U>where
T: Deserialize<'de>,
U: Deserialize<'de>,
impl<'de, T, U> Deserialize<'de> for UntaggedChildren<T, U>where
T: Deserialize<'de>,
U: Deserialize<'de>,
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<T, U> Display for UntaggedChildren<T, U>
impl<T, U> Display for UntaggedChildren<T, U>
source§impl<T: PartialEq, U: PartialEq> PartialEq for UntaggedChildren<T, U>
impl<T: PartialEq, U: PartialEq> PartialEq for UntaggedChildren<T, U>
source§fn eq(&self, other: &UntaggedChildren<T, U>) -> bool
fn eq(&self, other: &UntaggedChildren<T, U>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T, U> Serialize for UntaggedChildren<T, U>
impl<T, U> Serialize for UntaggedChildren<T, U>
source§impl<'__s, T, U> ToSchema<'__s> for UntaggedChildren<T, U>
impl<'__s, T, U> ToSchema<'__s> for UntaggedChildren<T, U>
impl<T, U> StructuralPartialEq for UntaggedChildren<T, U>
Auto Trait Implementations§
impl<T, U> RefUnwindSafe for UntaggedChildren<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for UntaggedChildren<T, U>
impl<T, U> Sync for UntaggedChildren<T, U>
impl<T, U> Unpin for UntaggedChildren<T, U>
impl<T, U> UnwindSafe for UntaggedChildren<T, U>where
T: UnwindSafe,
U: 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