#[non_exhaustive]pub enum FeatureType {
Audio,
Chat,
Feed,
Moderator,
Phone,
Screen,
Video,
}Expand description
The FEATURE parameter value (RFC 7986 §6.3).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FeatureType
impl Clone for FeatureType
Source§fn clone(&self) -> FeatureType
fn clone(&self) -> FeatureType
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 FeatureType
Source§impl Debug for FeatureType
impl Debug for FeatureType
Source§impl Display for FeatureType
impl Display for FeatureType
impl Eq for FeatureType
Source§impl FromStr for FeatureType
impl FromStr for FeatureType
Source§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<FeatureType, <FeatureType as FromStr>::Err>
fn from_str(s: &str) -> Result<FeatureType, <FeatureType as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for FeatureType
impl Hash for FeatureType
Source§impl PartialEq for FeatureType
impl PartialEq for FeatureType
impl StructuralPartialEq for FeatureType
Source§impl TryFrom<&str> for FeatureType
impl TryFrom<&str> for FeatureType
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(
s: &str,
) -> Result<FeatureType, <FeatureType as TryFrom<&str>>::Error>
fn try_from( s: &str, ) -> Result<FeatureType, <FeatureType as TryFrom<&str>>::Error>
Performs the conversion.
Source§impl WriteIcal for FeatureType
impl WriteIcal for FeatureType
Source§fn write_ical(&self, w: &mut dyn Write) -> Result
fn write_ical(&self, w: &mut dyn Write) -> Result
Writes this value to the given writer in iCalendar wire format.
Source§fn to_ical_string(&self) -> String
fn to_ical_string(&self) -> String
Convenience method that serializes to a
String.Auto Trait Implementations§
impl Freeze for FeatureType
impl RefUnwindSafe for FeatureType
impl Send for FeatureType
impl Sync for FeatureType
impl Unpin for FeatureType
impl UnsafeUnpin for FeatureType
impl UnwindSafe for FeatureType
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