pub struct Target {Show 23 fields
pub id: i64,
pub iid: i64,
pub project_id: i64,
pub title: String,
pub description: Option<String>,
pub state: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub target_branch: Option<String>,
pub source_branch: Option<String>,
pub upvotes: Option<i64>,
pub downvotes: Option<i64>,
pub author: Option<Author>,
pub assignee: Option<Assignee>,
pub source_project_id: Option<i64>,
pub target_project_id: Option<i64>,
pub labels: Option<Vec<String>>,
pub draft: Option<bool>,
pub work_in_progress: Option<bool>,
pub milestone: Option<Milestone>,
pub merge_when_pipeline_succeeds: Option<bool>,
pub merge_status: Option<String>,
pub user_notes_count: Option<i64>,
}Fields§
§id: i64§iid: i64§project_id: i64§title: String§description: Option<String>§state: Option<String>§created_at: Option<String>§updated_at: Option<String>§target_branch: Option<String>§source_branch: Option<String>§upvotes: Option<i64>§downvotes: Option<i64>§assignee: Option<Assignee>§source_project_id: Option<i64>§target_project_id: Option<i64>§labels: Option<Vec<String>>§draft: Option<bool>§work_in_progress: Option<bool>§milestone: Option<Milestone>§merge_when_pipeline_succeeds: Option<bool>§merge_status: Option<String>§user_notes_count: Option<i64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Target
impl<'de> Deserialize<'de> for Target
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
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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