Struct stry_common::models::Id[][src]

pub struct Id<T = ArrayString<[u8; 6]>>(pub T);

The database entry id newtype, is a ArrayString by default

Trait Implementations

impl<T> Add<Id<T>> for Id<T> where
    T: Add<Output = T>, 
[src]

type Output = Self

The resulting type after applying the + operator.

impl<T> AddAssign<Id<T>> for Id<T> where
    T: AddAssign
[src]

impl<T> BitAnd<Id<T>> for Id<T> where
    T: BitAnd<Output = T>, 
[src]

type Output = Self

The resulting type after applying the & operator.

impl<T> BitAndAssign<Id<T>> for Id<T> where
    T: BitAndAssign + BitAnd<Output = T>, 
[src]

impl<T> BitOr<Id<T>> for Id<T> where
    T: BitOr<Output = T>, 
[src]

type Output = Self

The resulting type after applying the | operator.

impl<T> BitOrAssign<Id<T>> for Id<T> where
    T: BitOrAssign + BitOr<Output = T>, 
[src]

impl<T> BitXor<Id<T>> for Id<T> where
    T: BitXor<Output = T>, 
[src]

type Output = Self

The resulting type after applying the ^ operator.

impl<T> BitXorAssign<Id<T>> for Id<T> where
    T: BitXorAssign + BitXor<Output = T>, 
[src]

impl<T> Clone for Id<T> where
    T: Clone
[src]

impl<T> Copy for Id<T> where
    T: Copy
[src]

impl<T: Debug> Debug for Id<T>[src]

impl<T> Default for Id<T> where
    T: Default
[src]

impl<'de, T> Deserialize<'de> for Id<T> where
    T: Deserialize<'de>, 
[src]

impl<T> Div<Id<T>> for Id<T> where
    T: Div<Output = T>, 
[src]

type Output = Self

The resulting type after applying the / operator.

impl<T> DivAssign<Id<T>> for Id<T> where
    T: DivAssign
[src]

impl<T> Eq for Id<T> where
    T: Eq
[src]

impl<T> From<T> for Id<T>[src]

impl<T> Hash for Id<T> where
    T: Hash
[src]

impl<T> Mul<Id<T>> for Id<T> where
    T: Mul<Output = T>, 
[src]

type Output = Self

The resulting type after applying the * operator.

impl<T> MulAssign<Id<T>> for Id<T> where
    T: MulAssign
[src]

impl<T> Neg for Id<T> where
    T: Neg<Output = T>, 
[src]

type Output = Self

The resulting type after applying the - operator.

impl<T> Not for Id<T> where
    T: Not<Output = T>, 
[src]

type Output = Self

The resulting type after applying the ! operator.

impl<T> Ord for Id<T> where
    T: Ord
[src]

impl<T> PartialEq<Id<T>> for Id<T> where
    T: PartialEq
[src]

impl<T> PartialOrd<Id<T>> for Id<T> where
    T: PartialOrd
[src]

impl<T> Rem<Id<T>> for Id<T> where
    T: Rem<Output = T>, 
[src]

type Output = Self

The resulting type after applying the % operator.

impl<T> RemAssign<Id<T>> for Id<T> where
    T: RemAssign
[src]

impl<T> Serialize for Id<T> where
    T: Serialize
[src]

impl<T> Shl<Id<T>> for Id<T> where
    T: Shl<Output = T>, 
[src]

type Output = Self

The resulting type after applying the << operator.

impl<T> ShlAssign<Id<T>> for Id<T> where
    T: ShlAssign
[src]

impl<T> Shr<Id<T>> for Id<T> where
    T: Shr<Output = T>, 
[src]

type Output = Self

The resulting type after applying the >> operator.

impl<T> ShrAssign<Id<T>> for Id<T> where
    T: ShrAssign
[src]

impl<T> Sub<Id<T>> for Id<T> where
    T: Sub<Output = T>, 
[src]

type Output = Self

The resulting type after applying the - operator.

impl<T> SubAssign<Id<T>> for Id<T> where
    T: SubAssign
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Id<T> where
    T: RefUnwindSafe

impl<T> Send for Id<T> where
    T: Send

impl<T> Sync for Id<T> where
    T: Sync

impl<T> Unpin for Id<T> where
    T: Unpin

impl<T> UnwindSafe for Id<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Rhs> NumAssignOps<Rhs> for T where
    T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>, 
[src]

impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
    T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,