pub struct SourcePullRequestVersion {
pub iteration_id: Option<String>,
pub pull_request_id: Option<String>,
pub pull_request_merged_at: Option<OffsetDateTime>,
pub source_branch: Option<String>,
pub source_branch_commit_id: Option<String>,
pub target_branch: Option<String>,
}
Expand description
Fields§
§iteration_id: Option<String>
Pull Request Iteration Id for which the release will publish status.
pull_request_id: Option<String>
Pull Request Id for which the release will publish status.
pull_request_merged_at: Option<OffsetDateTime>
Date and time of the pull request merge creation. It is required to keep timeline record of Releases created by pull request.
source_branch: Option<String>
Source branch of the Pull Request.
source_branch_commit_id: Option<String>
Source branch commit Id of the Pull Request for which the release will publish status.
target_branch: Option<String>
Target branch of the Pull Request.
Implementations§
Trait Implementations§
source§impl Clone for SourcePullRequestVersion
impl Clone for SourcePullRequestVersion
source§fn clone(&self) -> SourcePullRequestVersion
fn clone(&self) -> SourcePullRequestVersion
Returns a copy 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 SourcePullRequestVersion
impl Debug for SourcePullRequestVersion
source§impl Default for SourcePullRequestVersion
impl Default for SourcePullRequestVersion
source§fn default() -> SourcePullRequestVersion
fn default() -> SourcePullRequestVersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SourcePullRequestVersion
impl<'de> Deserialize<'de> for SourcePullRequestVersion
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 SourcePullRequestVersion
impl PartialEq for SourcePullRequestVersion
source§fn eq(&self, other: &SourcePullRequestVersion) -> bool
fn eq(&self, other: &SourcePullRequestVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SourcePullRequestVersion
impl Serialize for SourcePullRequestVersion
impl StructuralPartialEq for SourcePullRequestVersion
Auto Trait Implementations§
impl RefUnwindSafe for SourcePullRequestVersion
impl Send for SourcePullRequestVersion
impl Sync for SourcePullRequestVersion
impl Unpin for SourcePullRequestVersion
impl UnwindSafe for SourcePullRequestVersion
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