pub enum IssuesCreateRequestMilestone {
String(String),
Integer(i32),
}
Variants§
String(String)
Integer(i32)
The number
of the milestone to associate this issue with. NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise.
Trait Implementations§
Source§impl Clone for IssuesCreateRequestMilestone
impl Clone for IssuesCreateRequestMilestone
Source§fn clone(&self) -> IssuesCreateRequestMilestone
fn clone(&self) -> IssuesCreateRequestMilestone
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IssuesCreateRequestMilestone
impl Debug for IssuesCreateRequestMilestone
Source§impl<'de> Deserialize<'de> for IssuesCreateRequestMilestone
impl<'de> Deserialize<'de> for IssuesCreateRequestMilestone
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IssuesCreateRequestMilestone
impl PartialEq for IssuesCreateRequestMilestone
Source§fn eq(&self, other: &IssuesCreateRequestMilestone) -> bool
fn eq(&self, other: &IssuesCreateRequestMilestone) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for IssuesCreateRequestMilestone
Auto Trait Implementations§
impl Freeze for IssuesCreateRequestMilestone
impl RefUnwindSafe for IssuesCreateRequestMilestone
impl Send for IssuesCreateRequestMilestone
impl Sync for IssuesCreateRequestMilestone
impl Unpin for IssuesCreateRequestMilestone
impl UnwindSafe for IssuesCreateRequestMilestone
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