pub enum ChannelLinkRequestPrivacy {
Public,
Private,
}Expand description
ChannelLinkRequestPrivacy
JSON schema
{
"default": "public",
"type": "string",
"enum": [
"public",
"private"
]
}Variants§
Trait Implementations§
Source§impl Clone for ChannelLinkRequestPrivacy
impl Clone for ChannelLinkRequestPrivacy
Source§fn clone(&self) -> ChannelLinkRequestPrivacy
fn clone(&self) -> ChannelLinkRequestPrivacy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChannelLinkRequestPrivacy
Source§impl Debug for ChannelLinkRequestPrivacy
impl Debug for ChannelLinkRequestPrivacy
Source§impl Default for ChannelLinkRequestPrivacy
impl Default for ChannelLinkRequestPrivacy
Source§impl<'de> Deserialize<'de> for ChannelLinkRequestPrivacy
impl<'de> Deserialize<'de> for ChannelLinkRequestPrivacy
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 ChannelLinkRequestPrivacy
impl Display for ChannelLinkRequestPrivacy
impl Eq for ChannelLinkRequestPrivacy
Source§impl FromStr for ChannelLinkRequestPrivacy
impl FromStr for ChannelLinkRequestPrivacy
Source§impl Hash for ChannelLinkRequestPrivacy
impl Hash for ChannelLinkRequestPrivacy
Source§impl Ord for ChannelLinkRequestPrivacy
impl Ord for ChannelLinkRequestPrivacy
Source§fn cmp(&self, other: &ChannelLinkRequestPrivacy) -> Ordering
fn cmp(&self, other: &ChannelLinkRequestPrivacy) -> Ordering
1.21.0 (const: unstable) · 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 for ChannelLinkRequestPrivacy
impl PartialEq for ChannelLinkRequestPrivacy
Source§fn eq(&self, other: &ChannelLinkRequestPrivacy) -> bool
fn eq(&self, other: &ChannelLinkRequestPrivacy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ChannelLinkRequestPrivacy
impl PartialOrd for ChannelLinkRequestPrivacy
impl StructuralPartialEq for ChannelLinkRequestPrivacy
Source§impl TryFrom<&String> for ChannelLinkRequestPrivacy
impl TryFrom<&String> for ChannelLinkRequestPrivacy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ChannelLinkRequestPrivacy
impl TryFrom<&str> for ChannelLinkRequestPrivacy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ChannelLinkRequestPrivacy
impl TryFrom<String> for ChannelLinkRequestPrivacy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ChannelLinkRequestPrivacy
impl RefUnwindSafe for ChannelLinkRequestPrivacy
impl Send for ChannelLinkRequestPrivacy
impl Sync for ChannelLinkRequestPrivacy
impl Unpin for ChannelLinkRequestPrivacy
impl UnsafeUnpin for ChannelLinkRequestPrivacy
impl UnwindSafe for ChannelLinkRequestPrivacy
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