pub struct StylePerson {
pub name: Option<String>,
pub email: Option<String>,
pub uri: Option<String>,
}Expand description
A person credit (author or contributor) for a style.
Fields§
§name: Option<String>Display name for the credited person.
email: Option<String>Contact email for the credited person.
uri: Option<String>URI identifying the credited person.
Trait Implementations§
Source§impl Clone for StylePerson
impl Clone for StylePerson
Source§fn clone(&self) -> StylePerson
fn clone(&self) -> StylePerson
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 moreSource§impl Debug for StylePerson
impl Debug for StylePerson
Source§impl Default for StylePerson
impl Default for StylePerson
Source§fn default() -> StylePerson
fn default() -> StylePerson
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StylePerson
impl<'de> Deserialize<'de> for StylePerson
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StylePerson, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StylePerson, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for StylePerson
impl Serialize for StylePerson
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for StylePerson
impl RefUnwindSafe for StylePerson
impl Send for StylePerson
impl Sync for StylePerson
impl Unpin for StylePerson
impl UnsafeUnpin for StylePerson
impl UnwindSafe for StylePerson
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