Struct stry_common::backend::Id [−][src]
The database entry id newtype, is a String by default
Trait Implementations
impl<T> Add<Id<T>> for Id<T> where
T: Add<Output = T>, [src]
T: Add<Output = T>,
type Output = Self
The resulting type after applying the + operator.
fn add(self, other: Self) -> Self[src]
impl<T> AddAssign<Id<T>> for Id<T> where
T: AddAssign, [src]
T: AddAssign,
fn add_assign(&mut self, other: Self)[src]
impl<T> BitAnd<Id<T>> for Id<T> where
T: BitAnd<Output = T>, [src]
T: BitAnd<Output = T>,
type Output = Self
The resulting type after applying the & operator.
fn bitand(self, other: Self) -> Self::Output[src]
impl<T> BitAndAssign<Id<T>> for Id<T> where
T: BitAndAssign + BitAnd<Output = T>, [src]
T: BitAndAssign + BitAnd<Output = T>,
fn bitand_assign(&mut self, other: Self)[src]
impl<T> BitOr<Id<T>> for Id<T> where
T: BitOr<Output = T>, [src]
T: BitOr<Output = T>,
type Output = Self
The resulting type after applying the | operator.
fn bitor(self, other: Self) -> Self::Output[src]
impl<T> BitOrAssign<Id<T>> for Id<T> where
T: BitOrAssign + BitOr<Output = T>, [src]
T: BitOrAssign + BitOr<Output = T>,
fn bitor_assign(&mut self, other: Self)[src]
impl<T> BitXor<Id<T>> for Id<T> where
T: BitXor<Output = T>, [src]
T: BitXor<Output = T>,
type Output = Self
The resulting type after applying the ^ operator.
fn bitxor(self, other: Self) -> Self::Output[src]
impl<T> BitXorAssign<Id<T>> for Id<T> where
T: BitXorAssign + BitXor<Output = T>, [src]
T: BitXorAssign + BitXor<Output = T>,
fn bitxor_assign(&mut self, other: Self)[src]
impl<T> Clone for Id<T> where
T: Clone, [src]
T: Clone,
fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<T> Copy for Id<T> where
T: Copy, [src]
T: Copy,
impl<T: Debug> Debug for Id<T>[src]
impl<T> Default for Id<T> where
T: Default, [src]
T: Default,
impl<'de, T> Deserialize<'de> for Id<T> where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl<T> Div<Id<T>> for Id<T> where
T: Div<Output = T>, [src]
T: Div<Output = T>,
type Output = Self
The resulting type after applying the / operator.
fn div(self, other: Self) -> Self::Output[src]
impl<T> DivAssign<Id<T>> for Id<T> where
T: DivAssign, [src]
T: DivAssign,
fn div_assign(&mut self, other: Self)[src]
impl<T> Eq for Id<T> where
T: Eq, [src]
T: Eq,
impl<T> From<T> for Id<T>[src]
impl<T> Hash for Id<T> where
T: Hash, [src]
T: Hash,
fn hash<H>(&self, state: &mut H) where
H: Hasher, [src]
H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<T> Mul<Id<T>> for Id<T> where
T: Mul<Output = T>, [src]
T: Mul<Output = T>,
type Output = Self
The resulting type after applying the * operator.
fn mul(self, other: Self) -> Self::Output[src]
impl<T> MulAssign<Id<T>> for Id<T> where
T: MulAssign, [src]
T: MulAssign,
fn mul_assign(&mut self, other: Self)[src]
impl<T> Neg for Id<T> where
T: Neg<Output = T>, [src]
T: Neg<Output = T>,
impl<T> Not for Id<T> where
T: Not<Output = T>, [src]
T: Not<Output = T>,
impl<T> Ord for Id<T> where
T: Ord, [src]
T: Ord,
fn cmp(&self, other: &Self) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl<T> PartialEq<Id<T>> for Id<T> where
T: PartialEq, [src]
T: PartialEq,
impl<T> PartialOrd<Id<T>> for Id<T> where
T: PartialOrd, [src]
T: PartialOrd,
fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl<T> Rem<Id<T>> for Id<T> where
T: Rem<Output = T>, [src]
T: Rem<Output = T>,
type Output = Self
The resulting type after applying the % operator.
fn rem(self, other: Self) -> Self::Output[src]
impl<T> RemAssign<Id<T>> for Id<T> where
T: RemAssign, [src]
T: RemAssign,
fn rem_assign(&mut self, other: Self)[src]
impl<T> Serialize for Id<T> where
T: Serialize, [src]
T: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<T> Shl<Id<T>> for Id<T> where
T: Shl<Output = T>, [src]
T: Shl<Output = T>,
type Output = Self
The resulting type after applying the << operator.
fn shl(self, other: Self) -> Self::Output[src]
impl<T> ShlAssign<Id<T>> for Id<T> where
T: ShlAssign, [src]
T: ShlAssign,
fn shl_assign(&mut self, other: Self)[src]
impl<T> Shr<Id<T>> for Id<T> where
T: Shr<Output = T>, [src]
T: Shr<Output = T>,
type Output = Self
The resulting type after applying the >> operator.
fn shr(self, other: Self) -> Self::Output[src]
impl<T> ShrAssign<Id<T>> for Id<T> where
T: ShrAssign, [src]
T: ShrAssign,
fn shr_assign(&mut self, other: Self)[src]
impl<T> Sub<Id<T>> for Id<T> where
T: Sub<Output = T>, [src]
T: Sub<Output = T>,
type Output = Self
The resulting type after applying the - operator.
fn sub(self, other: Self) -> Self::Output[src]
impl<T> SubAssign<Id<T>> for Id<T> where
T: SubAssign, [src]
T: SubAssign,
fn sub_assign(&mut self, other: Self)[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Id<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Id<T> where
T: Send,
T: Send,
impl<T> Sync for Id<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Id<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Id<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
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]
U: From<T>,
impl<T> IntoOption for T[src]
fn some_if(self, predicate: bool) -> Option<Self>[src]
fn with_some_if<F>(self, predicate: F) -> Option<Self> where
F: FnOnce(&Self) -> bool, [src]
F: FnOnce(&Self) -> bool,
fn none_if(self, predicate: bool) -> Option<Self>[src]
fn with_none_if<F>(self, predicate: F) -> Option<Self> where
F: FnOnce(&Self) -> bool, [src]
F: FnOnce(&Self) -> bool,
impl<T> IntoResult for T[src]
fn ok_if<E>(self, predicate: bool, err: E) -> Result<Self, E>[src]
fn with_ok_if<F, E>(self, predicate: F, err: E) -> Result<Self, E> where
F: FnOnce(&Self) -> bool, [src]
F: FnOnce(&Self) -> bool,
fn err_if<E>(self, predicate: bool, err: E) -> Result<Self, E>[src]
fn with_err_if<F, E>(self, predicate: F, err: E) -> Result<Self, E> where
F: FnOnce(&Self) -> bool, [src]
F: FnOnce(&Self) -> bool,
impl<T, Rhs> NumAssignOps<Rhs> for T where
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>, [src]
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
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]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,