pub struct Tagged<T, Name>where
Name: Tag,{ /* private fields */ }Expand description
Core traits (SQLTable, SQLColumn, SQLSchema, SQLModel, etc.).
Generic typed wrapper that binds a value to a compile-time Tag.
Implementations§
Trait Implementations§
impl<T, Name> Copy for Tagged<T, Name>
impl<T, Name> Eq for Tagged<T, Name>
Source§impl<T, Name> Ord for Tagged<T, Name>
impl<T, Name> Ord for Tagged<T, Name>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T, Name> PartialOrd for Tagged<T, Name>
impl<T, Name> PartialOrd for Tagged<T, Name>
impl<T, Name> StructuralPartialEq for Tagged<T, Name>
Auto Trait Implementations§
impl<T, Name> Freeze for Tagged<T, Name>
impl<T, Name> RefUnwindSafe for Tagged<T, Name>
impl<T, Name> Send for Tagged<T, Name>
impl<T, Name> Sync for Tagged<T, Name>
impl<T, Name> Unpin for Tagged<T, Name>
impl<T, Name> UnsafeUnpin for Tagged<T, Name>
impl<T, Name> UnwindSafe for Tagged<T, Name>
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