Struct gitlab::webhooks::PipelineHookAttrs
source · [−]pub struct PipelineHookAttrs {
pub id: PipelineId,
pub sha: ObjectId,
pub ref_: Option<String>,
pub status: StatusState,
pub before_sha: String,
pub tag: bool,
pub created_at: HookDate,
pub finished_at: Option<HookDate>,
pub duration: Option<u64>,
pub source: String,
pub stages: Vec<String>,
pub variables: Vec<PipelineVariable>,
}
Fields
id: PipelineId
sha: ObjectId
The object ID that was tested.
ref_: Option<String>
The name of the reference that was tested.
status: StatusState
The status of the pipeline.
before_sha: String
tag: bool
Was this pipeline triggered by a tag.
created_at: HookDate
When the pipeline was created.
finished_at: Option<HookDate>
When the pipeline completed.
duration: Option<u64>
Duration of pipeline in seconds.
source: String
What triggered the pipeline.
stages: Vec<String>
The stages of the pipeline.
variables: Vec<PipelineVariable>
Environment variables manually set by the user starting the pipeline.
Trait Implementations
sourceimpl Clone for PipelineHookAttrs
impl Clone for PipelineHookAttrs
sourcefn clone(&self) -> PipelineHookAttrs
fn clone(&self) -> PipelineHookAttrs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PipelineHookAttrs
impl Debug for PipelineHookAttrs
sourceimpl<'de> Deserialize<'de> for PipelineHookAttrs
impl<'de> Deserialize<'de> for PipelineHookAttrs
sourcefn 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
sourceimpl Serialize for PipelineHookAttrs
impl Serialize for PipelineHookAttrs
Auto Trait Implementations
impl RefUnwindSafe for PipelineHookAttrs
impl Send for PipelineHookAttrs
impl Sync for PipelineHookAttrs
impl Unpin for PipelineHookAttrs
impl UnwindSafe for PipelineHookAttrs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more