pub struct Group {
pub fund_id: i32,
pub token_identifier: String,
pub group_id: String,
}
Fields§
§fund_id: i32
§token_identifier: String
§group_id: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for Group
impl<'de> Deserialize<'de> for Group
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 Insertable<table> for Group
impl Insertable<table> for Group
§type Values = (Eq<fund_id, <i32 as AsExpression<<fund_id as Expression>::SqlType>>::Expression>, Eq<token_identifier, <String as AsExpression<<token_identifier as Expression>::SqlType>>::Expression>, Eq<group_id, <String as AsExpression<<group_id as Expression>::SqlType>>::Expression>)
type Values = (Eq<fund_id, <i32 as AsExpression<<fund_id as Expression>::SqlType>>::Expression>, Eq<token_identifier, <String as AsExpression<<token_identifier as Expression>::SqlType>>::Expression>, Eq<group_id, <String as AsExpression<<group_id as Expression>::SqlType>>::Expression>)
The
VALUES
clause to insert these records Read more§fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>where
Self: Sized,
fn insert_into( self, table: T ) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>where Self: Sized,
Insert
self
into a given table. Read moresource§impl Ord for Group
impl Ord for Group
source§impl PartialEq<Group> for Group
impl PartialEq<Group> for Group
source§impl PartialOrd<Group> for Group
impl PartialOrd<Group> for Group
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Groupwhere
(i32, String, String): Queryable<__ST, __DB>,
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Groupwhere (i32, String, String): Queryable<__ST, __DB>,
impl Eq for Group
impl StructuralEq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.