Enum rpc2::proto::ChannelVisibility
source · #[repr(i32)]pub enum ChannelVisibility {
Public,
Members,
}
Variants§
Implementations§
Trait Implementations§
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 i32
impl From<ChannelVisibility> for i32
source§fn from(value: ChannelVisibility) -> i32
fn from(value: ChannelVisibility) -> i32
Converts to this type from the input type.
source§impl Hash for ChannelVisibility
impl Hash for ChannelVisibility
source§impl Ord for ChannelVisibility
impl Ord for ChannelVisibility
source§fn cmp(&self, other: &ChannelVisibility) -> Ordering
fn cmp(&self, other: &ChannelVisibility) -> 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<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 PartialOrd<ChannelVisibility> for ChannelVisibility
impl PartialOrd<ChannelVisibility> for ChannelVisibility
source§fn partial_cmp(&self, other: &ChannelVisibility) -> Option<Ordering>
fn partial_cmp(&self, other: &ChannelVisibility) -> 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 ChannelVisibility
impl Serialize for ChannelVisibility
impl Copy for ChannelVisibility
impl Eq 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
§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.