pub enum CreativeWorkAuthors {
Person(Person),
Organization(Organization),
}
Expand description
Types permitted for the authors
property of a CreativeWork
node.
Variants§
Person(Person)
Organization(Organization)
Trait Implementations§
Source§impl AsRef<str> for CreativeWorkAuthors
impl AsRef<str> for CreativeWorkAuthors
Source§impl Clone for CreativeWorkAuthors
impl Clone for CreativeWorkAuthors
Source§fn clone(&self) -> CreativeWorkAuthors
fn clone(&self) -> CreativeWorkAuthors
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 CreativeWorkAuthors
impl Debug for CreativeWorkAuthors
Source§impl<'de> Deserialize<'de> for CreativeWorkAuthors
impl<'de> Deserialize<'de> for CreativeWorkAuthors
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
Auto Trait Implementations§
impl Freeze for CreativeWorkAuthors
impl RefUnwindSafe for CreativeWorkAuthors
impl Send for CreativeWorkAuthors
impl Sync for CreativeWorkAuthors
impl Unpin for CreativeWorkAuthors
impl UnwindSafe for CreativeWorkAuthors
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