pub struct Draft {
pub id: Option<DeedId>,
pub name: String,
pub sources: Vec<Source>,
pub produced_by: ProducedBy,
pub grants: Vec<Grant>,
pub body: Body,
}Expand description
Constructor input. from_draft is the shipped assemble.
Fields§
§id: Option<DeedId>§name: String§sources: Vec<Source>§produced_by: ProducedBy§grants: Vec<Grant>§body: BodyTrait Implementations§
Auto Trait Implementations§
impl Forget for Draft
impl Freeze for Draft
impl Move for Draft
impl RefUnwindSafe for Draft
impl Send for Draft
impl Sync for Draft
impl Unpin for Draft
impl UnsafeUnpin for Draft
impl UnwindSafe for Draft
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