Struct webserver_base::SocialMedia
source · pub struct SocialMedia {
pub name: String,
pub link: String,
}
Fields§
§name: String
§link: String
Implementations§
Trait Implementations§
source§impl Clone for SocialMedia
impl Clone for SocialMedia
source§fn clone(&self) -> SocialMedia
fn clone(&self) -> SocialMedia
Returns a copy 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 SocialMedia
impl Debug for SocialMedia
source§impl<'de> Deserialize<'de> for SocialMedia
impl<'de> Deserialize<'de> for SocialMedia
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
Auto Trait Implementations§
impl RefUnwindSafe for SocialMedia
impl Send for SocialMedia
impl Sync for SocialMedia
impl Unpin for SocialMedia
impl UnwindSafe for SocialMedia
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