pub struct CreateMilestoneArgs {
pub title: String,
pub description: Option<String>,
pub due_on: Option<DateTime<Utc>>,
}Expand description
Arguments for creating a new milestone.
Fields§
§title: StringThe milestone title.
description: Option<String>The milestone description (Markdown).
due_on: Option<DateTime<Utc>>The optional due date (UTC).
Trait Implementations§
Source§impl Clone for CreateMilestoneArgs
impl Clone for CreateMilestoneArgs
Auto Trait Implementations§
impl Freeze for CreateMilestoneArgs
impl RefUnwindSafe for CreateMilestoneArgs
impl Send for CreateMilestoneArgs
impl Sync for CreateMilestoneArgs
impl Unpin for CreateMilestoneArgs
impl UnsafeUnpin for CreateMilestoneArgs
impl UnwindSafe for CreateMilestoneArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more