pub struct NewContribution {
pub work_id: Uuid,
pub contributor_id: Uuid,
pub contribution_type: ContributionType,
pub main_contribution: bool,
pub biography: Option<String>,
pub institution: Option<String>,
}Fields§
§work_id: Uuid§contributor_id: Uuid§contribution_type: ContributionType§main_contribution: bool§biography: Option<String>§institution: Option<String>Auto Trait Implementations§
impl Freeze for NewContribution
impl RefUnwindSafe for NewContribution
impl Send for NewContribution
impl Sync for NewContribution
impl Unpin for NewContribution
impl UnsafeUnpin for NewContribution
impl UnwindSafe for NewContribution
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