pub struct AccountId { /* private fields */ }Implementations§
Trait Implementations§
source§impl<'expr> AsExpression<Account_id> for &'expr AccountId
impl<'expr> AsExpression<Account_id> for &'expr AccountId
§type Expression = Bound<Account_id, &'expr AccountId>
type Expression = Bound<Account_id, &'expr AccountId>
The expression being returned
source§fn as_expression(
self
) -> <&'expr AccountId as AsExpression<Account_id>>::Expression
fn as_expression( self ) -> <&'expr AccountId as AsExpression<Account_id>>::Expression
Perform the conversion
source§impl AsExpression<Account_id> for AccountId
impl AsExpression<Account_id> for AccountId
§type Expression = Bound<Account_id, AccountId>
type Expression = Bound<Account_id, AccountId>
The expression being returned
source§fn as_expression(self) -> <AccountId as AsExpression<Account_id>>::Expression
fn as_expression(self) -> <AccountId as AsExpression<Account_id>>::Expression
Perform the conversion
source§impl<'expr> AsExpression<Nullable<Account_id>> for &'expr AccountId
impl<'expr> AsExpression<Nullable<Account_id>> for &'expr AccountId
§type Expression = Bound<Nullable<Account_id>, &'expr AccountId>
type Expression = Bound<Nullable<Account_id>, &'expr AccountId>
The expression being returned
source§fn as_expression(
self
) -> <&'expr AccountId as AsExpression<Nullable<Account_id>>>::Expression
fn as_expression( self ) -> <&'expr AccountId as AsExpression<Nullable<Account_id>>>::Expression
Perform the conversion
source§impl AsExpression<Nullable<Account_id>> for AccountId
impl AsExpression<Nullable<Account_id>> for AccountId
§type Expression = Bound<Nullable<Account_id>, AccountId>
type Expression = Bound<Nullable<Account_id>, AccountId>
The expression being returned
source§fn as_expression(
self
) -> <AccountId as AsExpression<Nullable<Account_id>>>::Expression
fn as_expression( self ) -> <AccountId as AsExpression<Nullable<Account_id>>>::Expression
Perform the conversion
source§impl Authenticable for AccountId
impl Authenticable for AccountId
fn as_account_id(&self) -> &AccountId
source§impl<'de> Deserialize<'de> for AccountId
impl<'de> Deserialize<'de> for AccountId
source§fn deserialize<D>(
deserializer: D
) -> Result<AccountId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<AccountId, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromSql<Account_id, Pg> for AccountId
impl FromSql<Account_id, Pg> for AccountId
source§impl<__ST, __DB> FromSqlRow<__ST, __DB> for AccountIdwhere
__DB: Backend,
AccountId: FromSql<__ST, __DB>,
impl<__ST, __DB> FromSqlRow<__ST, __DB> for AccountIdwhere __DB: Backend, AccountId: FromSql<__ST, __DB>,
source§fn build_from_row<R>(
row: &mut R
) -> Result<AccountId, Box<dyn Error + Sync + Send + 'static, Global>>where
R: Row<__DB>,
fn build_from_row<R>( row: &mut R ) -> Result<AccountId, Box<dyn Error + Sync + Send + 'static, Global>>where R: Row<__DB>,
See the trait documentation.
§const FIELDS_NEEDED: usize = 1usize
const FIELDS_NEEDED: usize = 1usize
The number of fields that this type will consume. Must be equal to
the number of times you would call
row.take() in build_from_rowsource§impl PartialEq<AccountId> for AccountId
impl PartialEq<AccountId> for AccountId
source§impl<__ST, __DB> Queryable<__ST, __DB> for AccountIdwhere
__DB: Backend,
AccountId: FromSql<__ST, __DB>,
impl<__ST, __DB> Queryable<__ST, __DB> for AccountIdwhere __DB: Backend, AccountId: FromSql<__ST, __DB>,
source§impl Serialize for AccountId
impl Serialize for AccountId
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl ToSql<Account_id, Pg> for AccountId
impl ToSql<Account_id, Pg> for AccountId
source§impl<__DB> ToSql<Nullable<Account_id>, __DB> for AccountIdwhere
__DB: Backend,
AccountId: ToSql<Account_id, __DB>,
impl<__DB> ToSql<Nullable<Account_id>, __DB> for AccountIdwhere __DB: Backend, AccountId: ToSql<Account_id, __DB>,
impl Eq for AccountId
impl StructuralEq for AccountId
impl StructuralPartialEq for AccountId
Auto Trait Implementations§
impl RefUnwindSafe for AccountId
impl Send for AccountId
impl Sync for AccountId
impl Unpin for AccountId
impl UnwindSafe for AccountId
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.