Struct render_api::request::trigger_deploy::TriggerDeployRequest
source · pub struct TriggerDeployRequest<'a> {
pub clear_cache: Option<String>,
pub service_id: String,
/* private fields */
}
Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§clear_cache: Option<String>
§service_id: String
Implementations§
source§impl<'a> TriggerDeployRequest<'a>
impl<'a> TriggerDeployRequest<'a>
pub async fn send(self) -> InMemoryResult<Deploy>
pub fn clear_cache(self, clear_cache: &str) -> Self
Trait Implementations§
source§impl<'a> Clone for TriggerDeployRequest<'a>
impl<'a> Clone for TriggerDeployRequest<'a>
source§fn clone(&self) -> TriggerDeployRequest<'a>
fn clone(&self) -> TriggerDeployRequest<'a>
Returns a copy 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<'a> IntoFuture for TriggerDeployRequest<'a>
impl<'a> IntoFuture for TriggerDeployRequest<'a>
§type Output = Result<Deploy, Error<InMemoryBody>>
type Output = Result<Deploy, Error<InMemoryBody>>
The output that the future will produce on completion.
§type IntoFuture = Pin<Box<dyn Future<Output = <TriggerDeployRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = <TriggerDeployRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more