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
Source§fn clone(&self) -> CreateMilestoneArgs
fn clone(&self) -> CreateMilestoneArgs
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 moreAuto 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> 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