pub enum ChannelLinkResponsePrivacy {
Public,
Private,
}Expand description
ChannelLinkResponsePrivacy
JSON schema
{
"type": "string",
"enum": [
"public",
"private"
]
}Variants§
Trait Implementations§
Source§impl Clone for ChannelLinkResponsePrivacy
impl Clone for ChannelLinkResponsePrivacy
Source§fn clone(&self) -> ChannelLinkResponsePrivacy
fn clone(&self) -> ChannelLinkResponsePrivacy
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 ChannelLinkResponsePrivacy
Source§impl Debug for ChannelLinkResponsePrivacy
impl Debug for ChannelLinkResponsePrivacy
Source§impl<'de> Deserialize<'de> for ChannelLinkResponsePrivacy
impl<'de> Deserialize<'de> for ChannelLinkResponsePrivacy
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 ChannelLinkResponsePrivacy
impl Display for ChannelLinkResponsePrivacy
impl Eq for ChannelLinkResponsePrivacy
Source§impl FromStr for ChannelLinkResponsePrivacy
impl FromStr for ChannelLinkResponsePrivacy
Source§impl Hash for ChannelLinkResponsePrivacy
impl Hash for ChannelLinkResponsePrivacy
Source§impl Ord for ChannelLinkResponsePrivacy
impl Ord for ChannelLinkResponsePrivacy
Source§fn cmp(&self, other: &ChannelLinkResponsePrivacy) -> Ordering
fn cmp(&self, other: &ChannelLinkResponsePrivacy) -> 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 ChannelLinkResponsePrivacy
impl PartialEq for ChannelLinkResponsePrivacy
Source§fn eq(&self, other: &ChannelLinkResponsePrivacy) -> bool
fn eq(&self, other: &ChannelLinkResponsePrivacy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ChannelLinkResponsePrivacy
impl PartialOrd for ChannelLinkResponsePrivacy
impl StructuralPartialEq for ChannelLinkResponsePrivacy
Source§impl TryFrom<&String> for ChannelLinkResponsePrivacy
impl TryFrom<&String> for ChannelLinkResponsePrivacy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ChannelLinkResponsePrivacy
impl TryFrom<&str> for ChannelLinkResponsePrivacy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ChannelLinkResponsePrivacy
impl TryFrom<String> for ChannelLinkResponsePrivacy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ChannelLinkResponsePrivacy
impl RefUnwindSafe for ChannelLinkResponsePrivacy
impl Send for ChannelLinkResponsePrivacy
impl Sync for ChannelLinkResponsePrivacy
impl Unpin for ChannelLinkResponsePrivacy
impl UnsafeUnpin for ChannelLinkResponsePrivacy
impl UnwindSafe for ChannelLinkResponsePrivacy
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