Enum collab2::db::ChannelVisibility
source · pub enum ChannelVisibility {
Public,
Members,
}
Variants§
Implementations§
source§impl ChannelVisibility
impl ChannelVisibility
sourcepub fn iden_values() -> Vec<DynIden>
pub fn iden_values() -> Vec<DynIden>
Generated by sea-orm-macros
Trait Implementations§
source§impl ActiveEnum for ChannelVisibility
impl ActiveEnum for ChannelVisibility
source§fn try_from_value(v: &Self::Value) -> Result<Self, DbErr>
fn try_from_value(v: &Self::Value) -> Result<Self, DbErr>
Try to convert the corresponding value into enum variant.
§fn into_value(self) -> Self::Value
fn into_value(self) -> Self::Value
Convert an owned enum variant into the corresponding value.
source§impl Clone for ChannelVisibility
impl Clone for ChannelVisibility
source§fn clone(&self) -> ChannelVisibility
fn clone(&self) -> ChannelVisibility
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 ChannelVisibility
impl Debug for ChannelVisibility
source§impl Default for ChannelVisibility
impl Default for ChannelVisibility
source§fn default() -> ChannelVisibility
fn default() -> ChannelVisibility
Returns the “default value” for a type. Read more
source§impl From<ChannelVisibility> for ChannelVisibility
impl From<ChannelVisibility> for ChannelVisibility
source§impl Hash for ChannelVisibility
impl Hash for ChannelVisibility
source§impl Into<ChannelVisibility> for ChannelVisibility
impl Into<ChannelVisibility> for ChannelVisibility
source§impl Into<Value> for ChannelVisibility
impl Into<Value> for ChannelVisibility
source§impl Into<i32> for ChannelVisibility
impl Into<i32> for ChannelVisibility
source§impl IntoEnumIterator for ChannelVisibility
impl IntoEnumIterator for ChannelVisibility
type Iterator = ChannelVisibilityIter
fn iter() -> ChannelVisibilityIter ⓘ
source§impl PartialEq<ChannelVisibility> for ChannelVisibility
impl PartialEq<ChannelVisibility> for ChannelVisibility
source§fn eq(&self, other: &ChannelVisibility) -> bool
fn eq(&self, other: &ChannelVisibility) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryGetable for ChannelVisibility
impl TryGetable for ChannelVisibility
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 ChannelVisibility
impl ValueType for ChannelVisibility
impl Copy for ChannelVisibility
impl Eq for ChannelVisibility
impl NotU8 for ChannelVisibility
impl StructuralEq for ChannelVisibility
impl StructuralPartialEq for ChannelVisibility
Auto Trait Implementations§
impl RefUnwindSafe for ChannelVisibility
impl Send for ChannelVisibility
impl Sync for ChannelVisibility
impl Unpin for ChannelVisibility
impl UnwindSafe for ChannelVisibility
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<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<T> Pointable for T
impl<T> Pointable for T
§impl<T> TryFromU64 for Twhere
T: ActiveEnum,
impl<T> TryFromU64 for Twhere T: ActiveEnum,
§fn try_from_u64(_: u64) -> Result<T, DbErr>
fn try_from_u64(_: u64) -> Result<T, DbErr>
The method to convert the type to a u64
§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