pub struct Draft { /* private fields */ }Implementations§
Source§impl Draft
impl Draft
pub fn new(description: impl Into<String>) -> Self
pub fn with_title(self, title: impl Into<String>) -> Self
pub fn with_issue_type(self, issue_type: IssueType) -> Self
pub fn with_steps(self, steps: impl Into<String>) -> Self
pub fn title(&self) -> &str
pub fn description(&self) -> &str
pub fn issue_type(&self) -> IssueType
pub fn steps(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Forget for Draft
impl Freeze for Draft
impl Move for Draft
impl RefUnwindSafe for Draft
impl Send for Draftwhere
RawVecInner: Send,
impl Sync for Draftwhere
RawVecInner: Sync,
impl Unpin for Draft
impl UnsafeUnpin for Draft
impl UnwindSafe for Draftwhere
RawVecInner: UnwindSafe,
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