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 duplicate 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<AuthorInfo> for BibliographicElement
impl From<AuthorInfo> for BibliographicElement
Source§fn from(inner: AuthorInfo) -> Self
fn from(inner: AuthorInfo) -> Self
Converts to this type from the input type.
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 JsonSchema for AuthorInfo
impl JsonSchema for AuthorInfo
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§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