Enum stencila_schema::CreativeWorkPublisher [−][src]
pub enum CreativeWorkPublisher {
Person(Person),
Organization(Organization),
}
Expand description
Types permitted for the publisher
property of a CreativeWork
node.
Variants
Person(Person)
Tuple Fields of Person
0: Person
Organization(Organization)
Tuple Fields of Organization
0: Organization
Trait Implementations
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 RefUnwindSafe for CreativeWorkPublisher
impl Send for CreativeWorkPublisher
impl Sync for CreativeWorkPublisher
impl Unpin for CreativeWorkPublisher
impl UnwindSafe for CreativeWorkPublisher
Blanket Implementations
Mutably borrows from an owned value. Read more