pub struct ProjectMilestone {
pub title: String,
pub id: usize,
pub iid: usize,
pub project_id: Option<usize>,
pub group_id: Option<usize>,
pub description: String,
pub due_date: Option<String>,
pub start_date: Option<String>,
pub state: String,
}
Fields§
§title: String
§id: usize
§iid: usize
§project_id: Option<usize>
§group_id: Option<usize>
§description: String
§due_date: Option<String>
§start_date: Option<String>
§state: String
Implementations§
Source§impl ProjectMilestone
impl ProjectMilestone
pub fn in_project_by_title( client: &Client, project: &str, title: &str, ) -> Result<Option<ProjectMilestone>>
pub fn in_project( client: &Client, project: &str, ) -> Result<Vec<ProjectMilestone>>
Trait Implementations§
Source§impl Debug for ProjectMilestone
impl Debug for ProjectMilestone
Source§impl<'de> Deserialize<'de> for ProjectMilestone
impl<'de> Deserialize<'de> for ProjectMilestone
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 ProjectMilestone
impl RefUnwindSafe for ProjectMilestone
impl Send for ProjectMilestone
impl Sync for ProjectMilestone
impl Unpin for ProjectMilestone
impl UnwindSafe for ProjectMilestone
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