pub struct Pipeline {
pub allow_manual: bool,
pub created_at: DateTime<Utc>,
pub default_branch: String,
pub description: Option<String>,
pub name: String,
pub repository: String,
pub slug: String,
pub visibility: PipelineVisibility,
}Expand description
A repeatable CI workflow belonging to an organization.
JSON schema
{
"title": "Pipeline",
"description": "A repeatable CI workflow belonging to an
organization.",
"type": "object",
"required": [
"allow_manual",
"created_at",
"default_branch",
"name",
"repository",
"slug",
"visibility"
],
"properties": {
"allow_manual": {
"description": "Whether manual (e.g. `hm run`) builds are
permitted.",
"type": "boolean"
},
"created_at": {
"description": "When the pipeline was created.",
"type": "string",
"format": "date-time"
},
"default_branch": {
"description": "The branch built by default.",
"type": "string"
},
"description": {
"description": "Optional human description.",
"type": [
"string",
"null"
]
},
"name": {
"description": "Display name.",
"type": "string"
},
"repository": {
"description": "The source repository this pipeline builds.",
"type": "string"
},
"slug": {
"description": "URL-safe slug, unique within the organization.
Derived from the name.",
"type": "string"
},
"visibility": {
"description": "Whether the pipeline is private or public.",
"type": "string",
"enum": [
"private",
"public"
]
}
}
}Fields§
§allow_manual: boolWhether manual (e.g. hm run) builds are permitted.
created_at: DateTime<Utc>When the pipeline was created.
default_branch: StringThe branch built by default.
description: Option<String>Optional human description.
name: StringDisplay name.
repository: StringThe source repository this pipeline builds.
slug: StringURL-safe slug, unique within the organization. Derived from the name.
visibility: PipelineVisibilityWhether the pipeline is private or public.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pipeline
impl<'de> Deserialize<'de> for Pipeline
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 Pipeline
impl RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnsafeUnpin for Pipeline
impl UnwindSafe for Pipeline
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