Struct hubcaps::deployments::DeploymentOptionsBuilder
source · pub struct DeploymentOptionsBuilder(_);
Implementations
sourceimpl DeploymentOptionsBuilder
impl DeploymentOptionsBuilder
pub fn task<T>(&mut self, task: T) -> &mut Selfwhere
T: Into<String>,
pub fn auto_merge(&mut self, auto_merge: bool) -> &mut Self
pub fn required_contexts<C>(&mut self, ctxs: Vec<C>) -> &mut Selfwhere
C: Into<String>,
pub fn payload<T: Serialize>(&mut self, pl: T) -> &mut Self
pub fn environment<E>(&mut self, env: E) -> &mut Selfwhere
E: Into<String>,
pub fn description<D>(&mut self, desc: D) -> &mut Selfwhere
D: Into<String>,
pub fn build(&self) -> DeploymentOptions
Auto Trait Implementations
impl RefUnwindSafe for DeploymentOptionsBuilder
impl Send for DeploymentOptionsBuilder
impl Sync for DeploymentOptionsBuilder
impl Unpin for DeploymentOptionsBuilder
impl UnwindSafe for DeploymentOptionsBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more