pub struct Author {
pub name: String,
pub email: Option<String>,
}
Expand description
Specifies the author of some package
The author should be serialized into:
“Author-Name
Fields§
§name: String
§email: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Author
impl<'de> Deserialize<'de> for Author
Source§fn deserialize<D>(deserializer: D) -> Result<Author, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Author, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Author
impl StructuralPartialEq for Author
Auto Trait Implementations§
impl Freeze for Author
impl RefUnwindSafe for Author
impl Send for Author
impl Sync for Author
impl Unpin for Author
impl UnwindSafe for Author
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