Struct collab2::db::ChannelChatParticipantId
source · pub struct ChannelChatParticipantId(pub i32);
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
source§impl Clone for ChannelChatParticipantId
impl Clone for ChannelChatParticipantId
source§fn clone(&self) -> ChannelChatParticipantId
fn clone(&self) -> ChannelChatParticipantId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChannelChatParticipantId
impl Debug for ChannelChatParticipantId
source§impl Default for ChannelChatParticipantId
impl Default for ChannelChatParticipantId
source§fn default() -> ChannelChatParticipantId
fn default() -> ChannelChatParticipantId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChannelChatParticipantId
impl<'de> Deserialize<'de> for ChannelChatParticipantId
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 Display for ChannelChatParticipantId
impl Display for ChannelChatParticipantId
source§impl From<ChannelChatParticipantId> for Value
impl From<ChannelChatParticipantId> for Value
source§fn from(source: ChannelChatParticipantId) -> Self
fn from(source: ChannelChatParticipantId) -> Self
Converts to this type from the input type.
source§impl Hash for ChannelChatParticipantId
impl Hash for ChannelChatParticipantId
source§impl Ord for ChannelChatParticipantId
impl Ord for ChannelChatParticipantId
source§fn cmp(&self, other: &ChannelChatParticipantId) -> Ordering
fn cmp(&self, other: &ChannelChatParticipantId) -> Ordering
1.21.0 · 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 PartialEq<ChannelChatParticipantId> for ChannelChatParticipantId
impl PartialEq<ChannelChatParticipantId> for ChannelChatParticipantId
source§fn eq(&self, other: &ChannelChatParticipantId) -> bool
fn eq(&self, other: &ChannelChatParticipantId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ChannelChatParticipantId> for ChannelChatParticipantId
impl PartialOrd<ChannelChatParticipantId> for ChannelChatParticipantId
source§fn partial_cmp(&self, other: &ChannelChatParticipantId) -> Option<Ordering>
fn partial_cmp(&self, other: &ChannelChatParticipantId) -> Option<Ordering>
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 Serialize for ChannelChatParticipantId
impl Serialize for ChannelChatParticipantId
source§impl TryFromU64 for ChannelChatParticipantId
impl TryFromU64 for ChannelChatParticipantId
source§fn try_from_u64(n: u64) -> Result<Self, DbErr>
fn try_from_u64(n: u64) -> Result<Self, DbErr>
The method to convert the type to a u64
source§impl TryGetable for ChannelChatParticipantId
impl TryGetable for ChannelChatParticipantId
source§fn try_get_by<I: ColIdx>(res: &QueryResult, idx: I) -> Result<Self, TryGetError>
fn try_get_by<I: ColIdx>(res: &QueryResult, idx: I) -> Result<Self, TryGetError>
Get a value from the query result with an ColIdx
§fn try_get(res: &QueryResult, pre: &str, col: &str) -> Result<Self, TryGetError>
fn try_get(res: &QueryResult, pre: &str, col: &str) -> Result<Self, TryGetError>
Get a value from the query result with prefixed column name
§fn try_get_by_index(
res: &QueryResult,
index: usize
) -> Result<Self, TryGetError>
fn try_get_by_index( res: &QueryResult, index: usize ) -> Result<Self, TryGetError>
Get a value from the query result based on the order in the select expressions
source§impl ValueType for ChannelChatParticipantId
impl ValueType for ChannelChatParticipantId
impl Copy for ChannelChatParticipantId
impl Eq for ChannelChatParticipantId
impl StructuralEq for ChannelChatParticipantId
impl StructuralPartialEq for ChannelChatParticipantId
Auto Trait Implementations§
impl RefUnwindSafe for ChannelChatParticipantId
impl Send for ChannelChatParticipantId
impl Sync for ChannelChatParticipantId
impl Unpin for ChannelChatParticipantId
impl UnwindSafe for ChannelChatParticipantId
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.§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.§impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBase64 for Twhere T: for<'de> Deserialize<'de>,
§impl<V> FromValueTuple for Vwhere
V: Into<Value> + ValueType,
impl<V> FromValueTuple for Vwhere V: Into<Value> + ValueType,
fn from_value_tuple<I>(i: I) -> Vwhere I: IntoValueTuple,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<V> IntoValueTuple for Vwhere
V: Into<Value>,
impl<V> IntoValueTuple for Vwhere V: Into<Value>,
fn into_value_tuple(self) -> ValueTuple
§impl<K> MapSeekTarget<K> for Kwhere
K: Debug + Ord,
impl<K> MapSeekTarget<K> for Kwhere K: Debug + Ord,
fn cmp_cursor(&self, cursor_location: &K) -> Ordering
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> Serialize for Twhere
T: Serialize + ?Sized,
impl<T> Serialize for Twhere T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
§impl<C> SignWithKey<String> for Cwhere
C: ToBase64,
impl<C> SignWithKey<String> for Cwhere C: ToBase64,
fn sign_with_key(self, key: &impl SigningAlgorithm) -> Result<String, Error>
§impl<T> TryGetableMany for Twhere
T: TryGetable,
impl<T> TryGetableMany for Twhere T: TryGetable,
§fn try_get_many(
res: &QueryResult,
pre: &str,
cols: &[String]
) -> Result<T, TryGetError>
fn try_get_many( res: &QueryResult, pre: &str, cols: &[String] ) -> Result<T, TryGetError>
Get a tuple value from the query result with prefixed column name
§fn try_get_many_by_index(res: &QueryResult) -> Result<T, TryGetError>
fn try_get_many_by_index(res: &QueryResult) -> Result<T, TryGetError>
Get a tuple value from the query result based on the order in the select expressions