pub struct DeployRepoCreate {
pub project_id: i32,
pub name: String,
pub repository: String,
pub repo_kind: RepoKind,
pub runner: Runner,
pub deployment_method: DeploymentMethod,
}Expand description
Payload for creating a new DeployRepo via the API.
Fields§
§project_id: i32§name: String§repository: String§repo_kind: RepoKind§runner: Runner§deployment_method: DeploymentMethodTrait Implementations§
Source§impl Clone for DeployRepoCreate
impl Clone for DeployRepoCreate
Source§fn clone(&self) -> DeployRepoCreate
fn clone(&self) -> DeployRepoCreate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeployRepoCreate
impl Debug for DeployRepoCreate
Source§impl<'de> Deserialize<'de> for DeployRepoCreate
impl<'de> Deserialize<'de> for DeployRepoCreate
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 DeployRepoCreate
impl RefUnwindSafe for DeployRepoCreate
impl Send for DeployRepoCreate
impl Sync for DeployRepoCreate
impl Unpin for DeployRepoCreate
impl UnsafeUnpin for DeployRepoCreate
impl UnwindSafe for DeployRepoCreate
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