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