#[non_exhaustive]pub struct MilestoneRef {
pub id: ProjectMilestoneId,
pub name: String,
}Expand description
Minimal reference to a project milestone.
Canonical fragment:
fragment MilestoneRefFields on ProjectMilestone { id name }
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: ProjectMilestoneIdMilestone ID.
name: StringMilestone name.
Trait Implementations§
Source§impl Clone for MilestoneRef
impl Clone for MilestoneRef
Source§fn clone(&self) -> MilestoneRef
fn clone(&self) -> MilestoneRef
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 moreSource§impl Debug for MilestoneRef
impl Debug for MilestoneRef
Source§impl<'de> Deserialize<'de> for MilestoneRef
impl<'de> Deserialize<'de> for MilestoneRef
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
Auto Trait Implementations§
impl Freeze for MilestoneRef
impl RefUnwindSafe for MilestoneRef
impl Send for MilestoneRef
impl Sync for MilestoneRef
impl Unpin for MilestoneRef
impl UnsafeUnpin for MilestoneRef
impl UnwindSafe for MilestoneRef
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