pub enum AuthorInfo {
Author(Box<Author>),
Organization(Box<Organization>),
Address(Box<Address>),
Contact(Box<Contact>),
}
Variants§
Trait Implementations§
Source§impl Clone for AuthorInfo
impl Clone for AuthorInfo
Source§fn clone(&self) -> AuthorInfo
fn clone(&self) -> AuthorInfo
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 AuthorInfo
impl Debug for AuthorInfo
Source§impl From<Address> for AuthorInfo
impl From<Address> for AuthorInfo
Source§impl From<Author> for AuthorInfo
impl From<Author> for AuthorInfo
Source§impl From<Contact> for AuthorInfo
impl From<Contact> for AuthorInfo
Source§impl From<Organization> for AuthorInfo
impl From<Organization> for AuthorInfo
Source§fn from(inner: Organization) -> Self
fn from(inner: Organization) -> Self
Converts to this type from the input type.
Source§impl HasChildren<AuthorInfo> for Authors
impl HasChildren<AuthorInfo> for Authors
fn with_children(children: Vec<AuthorInfo>) -> Authors
fn children(&self) -> &Vec<AuthorInfo>
fn children_mut(&mut self) -> &mut Vec<AuthorInfo>
fn append_child<R: Into<C>>(&mut self, child: R)
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
Source§impl PartialEq for AuthorInfo
impl PartialEq for AuthorInfo
Source§impl Serialize for AuthorInfo
impl Serialize for AuthorInfo
impl StructuralPartialEq for AuthorInfo
Auto Trait Implementations§
impl Freeze for AuthorInfo
impl RefUnwindSafe for AuthorInfo
impl Send for AuthorInfo
impl Sync for AuthorInfo
impl Unpin for AuthorInfo
impl UnwindSafe for AuthorInfo
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