pub struct Author {
pub id: Uuid,
pub full_name: String,
pub given_name: Option<String>,
pub family_name: Option<String>,
pub middle_name: Option<String>,
}Fields§
§id: Uuid§full_name: String§given_name: Option<String>§family_name: Option<String>§middle_name: Option<String>Trait Implementations§
source§impl<'de> Deserialize<'de> for Author
impl<'de> Deserialize<'de> for Author
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<Author> for Author
impl PartialEq<Author> for Author
impl StructuralPartialEq for Author
Auto Trait Implementations§
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