pub enum ChannelField {
Description,
Icon,
}Expand description
A channel field that can be removed from a channel
Variants§
Implementations§
Source§impl ChannelField
impl ChannelField
Sourcepub fn remove_patch(self, channel: &mut Channel)
pub fn remove_patch(self, channel: &mut Channel)
Treats self as a patch and removes the field from the channel.
Trait Implementations§
Source§impl Clone for ChannelField
impl Clone for ChannelField
Source§fn clone(&self) -> ChannelField
fn clone(&self) -> ChannelField
Returns a duplicate 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 ChannelField
impl Debug for ChannelField
Source§impl<'de> Deserialize<'de> for ChannelField
impl<'de> Deserialize<'de> for ChannelField
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 Hash for ChannelField
impl Hash for ChannelField
Source§impl Ord for ChannelField
impl Ord for ChannelField
Source§fn cmp(&self, other: &ChannelField) -> Ordering
fn cmp(&self, other: &ChannelField) -> 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 for ChannelField
impl PartialEq for ChannelField
Source§impl PartialOrd for ChannelField
impl PartialOrd for ChannelField
Source§impl Serialize for ChannelField
impl Serialize for ChannelField
impl Copy for ChannelField
impl Eq for ChannelField
impl StructuralPartialEq for ChannelField
Auto Trait Implementations§
impl Freeze for ChannelField
impl RefUnwindSafe for ChannelField
impl Send for ChannelField
impl Sync for ChannelField
impl Unpin for ChannelField
impl UnwindSafe for ChannelField
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