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>
Source§type Output = Result<Deploy, Error<Response<InMemoryBody>>>
type Output = Result<Deploy, Error<Response<InMemoryBody>>>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <TriggerDeployRequest<'a> as IntoFuture>::Output> + Send + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = <TriggerDeployRequest<'a> as IntoFuture>::Output> + Send + 'a>>
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
Auto Trait Implementations§
impl<'a> Freeze for TriggerDeployRequest<'a>
impl<'a> !RefUnwindSafe for TriggerDeployRequest<'a>
impl<'a> Send for TriggerDeployRequest<'a>
impl<'a> Sync for TriggerDeployRequest<'a>
impl<'a> Unpin for TriggerDeployRequest<'a>
impl<'a> !UnwindSafe for TriggerDeployRequest<'a>
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