pub struct BuildReference {
pub links: Option<ReferenceLinks>,
pub build_number: Option<String>,
pub deleted: Option<bool>,
pub finish_time: Option<OffsetDateTime>,
pub id: Option<i32>,
pub queue_time: Option<OffsetDateTime>,
pub requested_for: Option<IdentityRef>,
pub result: Option<Result>,
pub start_time: Option<OffsetDateTime>,
pub status: Option<Status>,
}Expand description
Represents a reference to a build.
Fields§
§links: Option<ReferenceLinks>The class to represent a collection of REST reference links.
build_number: Option<String>The build number.
deleted: Option<bool>Indicates whether the build has been deleted.
finish_time: Option<OffsetDateTime>The time that the build was completed.
id: Option<i32>The ID of the build.
queue_time: Option<OffsetDateTime>The time that the build was queued.
requested_for: Option<IdentityRef>§result: Option<Result>The build result.
start_time: Option<OffsetDateTime>The time that the build was started.
status: Option<Status>The build status.
Implementations§
Trait Implementations§
Source§impl Clone for BuildReference
impl Clone for BuildReference
Source§fn clone(&self) -> BuildReference
fn clone(&self) -> BuildReference
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 BuildReference
impl Debug for BuildReference
Source§impl Default for BuildReference
impl Default for BuildReference
Source§fn default() -> BuildReference
fn default() -> BuildReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BuildReference
impl<'de> Deserialize<'de> for BuildReference
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 BuildReference
impl PartialEq for BuildReference
Source§impl Serialize for BuildReference
impl Serialize for BuildReference
impl StructuralPartialEq for BuildReference
Auto Trait Implementations§
impl Freeze for BuildReference
impl RefUnwindSafe for BuildReference
impl Send for BuildReference
impl Sync for BuildReference
impl Unpin for BuildReference
impl UnwindSafe for BuildReference
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