pub struct WorkAuthorRef {
pub author: Key,
pub role: Option<Key>,
}Expand description
Author reference inside a Work.
Fields§
§role: Option<Key>Trait Implementations§
Source§impl Clone for WorkAuthorRef
impl Clone for WorkAuthorRef
Source§fn clone(&self) -> WorkAuthorRef
fn clone(&self) -> WorkAuthorRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkAuthorRef
impl Debug for WorkAuthorRef
Source§impl<'de> Deserialize<'de> for WorkAuthorRef
impl<'de> Deserialize<'de> for WorkAuthorRef
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 WorkAuthorRef
impl RefUnwindSafe for WorkAuthorRef
impl Send for WorkAuthorRef
impl Sync for WorkAuthorRef
impl Unpin for WorkAuthorRef
impl UnsafeUnpin for WorkAuthorRef
impl UnwindSafe for WorkAuthorRef
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