pub struct PostReposCreatePagesDeployment {
pub artifact_id: Option<f64>,
pub artifact_url: Option<String>,
pub environment: Option<String>,
pub pages_build_version: Option<String>,
pub oidc_token: Option<String>,
}Expand description
The object used to create GitHub Pages deployment
Fields§
§artifact_id: Option<f64>The ID of an artifact that contains the .zip or .tar of static assets to deploy. The artifact belongs to the repository. Either artifact_id or artifact_url are required.
artifact_url: Option<String>The URL of an artifact that contains the .zip or .tar of static assets to deploy. The artifact belongs to the repository. Either artifact_id or artifact_url are required.
environment: Option<String>The target environment for this GitHub Pages deployment.
pages_build_version: Option<String>A unique string that represents the version of the build for this deployment.
oidc_token: Option<String>The OIDC token issued by GitHub Actions certifying the origin of the deployment.
Trait Implementations§
Source§impl Clone for PostReposCreatePagesDeployment
impl Clone for PostReposCreatePagesDeployment
Source§fn clone(&self) -> PostReposCreatePagesDeployment
fn clone(&self) -> PostReposCreatePagesDeployment
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 Default for PostReposCreatePagesDeployment
impl Default for PostReposCreatePagesDeployment
Source§fn default() -> PostReposCreatePagesDeployment
fn default() -> PostReposCreatePagesDeployment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostReposCreatePagesDeployment
impl<'de> Deserialize<'de> for PostReposCreatePagesDeployment
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 PostReposCreatePagesDeployment
impl PartialEq for PostReposCreatePagesDeployment
Source§fn eq(&self, other: &PostReposCreatePagesDeployment) -> bool
fn eq(&self, other: &PostReposCreatePagesDeployment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostReposCreatePagesDeployment
Auto Trait Implementations§
impl Freeze for PostReposCreatePagesDeployment
impl RefUnwindSafe for PostReposCreatePagesDeployment
impl Send for PostReposCreatePagesDeployment
impl Sync for PostReposCreatePagesDeployment
impl Unpin for PostReposCreatePagesDeployment
impl UnwindSafe for PostReposCreatePagesDeployment
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