pub enum SocialPlatform {
Twitter,
LinkedIn,
Instagram,
Facebook,
GitHub,
Other(String),
}Expand description
Social media platform
Variants§
Trait Implementations§
Source§impl Clone for SocialPlatform
impl Clone for SocialPlatform
Source§fn clone(&self) -> SocialPlatform
fn clone(&self) -> SocialPlatform
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 SocialPlatform
impl Debug for SocialPlatform
Source§impl<'de> Deserialize<'de> for SocialPlatform
impl<'de> Deserialize<'de> for SocialPlatform
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 PartialEq for SocialPlatform
impl PartialEq for SocialPlatform
Source§impl Serialize for SocialPlatform
impl Serialize for SocialPlatform
impl Eq for SocialPlatform
impl StructuralPartialEq for SocialPlatform
Auto Trait Implementations§
impl Freeze for SocialPlatform
impl RefUnwindSafe for SocialPlatform
impl Send for SocialPlatform
impl Sync for SocialPlatform
impl Unpin for SocialPlatform
impl UnwindSafe for SocialPlatform
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