Struct roctogen::endpoints::repos::ReposListDeploymentsParams [−][src]
pub struct ReposListDeploymentsParams<'req> { /* fields omitted */ }
Expand description
Query parameters for the List deployments endpoint.
Implementations
impl<'req> ReposListDeploymentsParams<'req>
[src]
impl<'req> ReposListDeploymentsParams<'req>
[src]pub fn new() -> Self
[src]
pub fn git_ref(self, git_ref: &'req str) -> Self
[src]
pub fn git_ref(self, git_ref: &'req str) -> Self
[src]The name of the ref. This can be a branch, tag, or SHA.
pub fn task(self, task: &'req str) -> Self
[src]
pub fn task(self, task: &'req str) -> Self
[src]The name of the task for the deployment (e.g., deploy
or deploy:migrations
).
pub fn environment(self, environment: &'req str) -> Self
[src]
pub fn environment(self, environment: &'req str) -> Self
[src]The name of the environment that was deployed to (e.g., staging
or production
).
Trait Implementations
impl<'req> Default for ReposListDeploymentsParams<'req>
[src]
impl<'req> Default for ReposListDeploymentsParams<'req>
[src]fn default() -> ReposListDeploymentsParams<'req>
[src]
fn default() -> ReposListDeploymentsParams<'req>
[src]Returns the “default value” for a type. Read more
impl<'enc> From<&'enc PerPage> for ReposListDeploymentsParams<'enc>
[src]
impl<'enc> From<&'enc PerPage> for ReposListDeploymentsParams<'enc>
[src]impl<'req> Serialize for ReposListDeploymentsParams<'req>
[src]
impl<'req> Serialize for ReposListDeploymentsParams<'req>
[src]