pub struct CiEnvironment {
pub base_branch: Option<String>,
pub base_revision: Option<String>,
pub branch: String,
pub env_prefix: Option<String>,
pub head_revision: Option<String>,
pub id: String,
pub provider: CiProvider,
pub request_id: Option<String>,
pub request_url: Option<String>,
pub revision: String,
pub url: Option<String>,
}Fields§
§base_branch: Option<String>Target branch of the pull/merge request.
base_revision: Option<String>Target revision of the pull/merge request.
branch: StringSource branch that triggered the pipeline.
env_prefix: Option<String>Prefix that all environment variables use.
head_revision: Option<String>Source revision of the pull/merge request.
id: StringUnique ID of the current pipeline.
provider: CiProviderName of the provider.
request_id: Option<String>ID of an associated pull/merge request.
request_url: Option<String>Link to the pull/merge request.
revision: StringRevision (commit, sha, etc) that triggered the pipeline.
url: Option<String>Link to the pipeline.
Trait Implementations§
Source§impl Clone for CiEnvironment
impl Clone for CiEnvironment
Source§fn clone(&self) -> CiEnvironment
fn clone(&self) -> CiEnvironment
Returns a duplicate 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 CiEnvironment
impl Debug for CiEnvironment
Source§impl Default for CiEnvironment
impl Default for CiEnvironment
Source§fn default() -> CiEnvironment
fn default() -> CiEnvironment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CiEnvironment
impl<'de> Deserialize<'de> for CiEnvironment
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 CiEnvironment
impl RefUnwindSafe for CiEnvironment
impl Send for CiEnvironment
impl Sync for CiEnvironment
impl Unpin for CiEnvironment
impl UnwindSafe for CiEnvironment
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