pub struct BootstrapConfig {
pub bootstrap_policy: Option<BootstrapPolicy>,
pub silent_bootstrap: bool,
}Expand description
Bootstrap-related configuration for a deployment start request.
Fields§
§bootstrap_policy: Option<BootstrapPolicy>Bootstrap policy.
silent_bootstrap: boolBootstrap the pipeline with output connectors disabled.
Implementations§
Source§impl BootstrapConfig
impl BootstrapConfig
pub fn with_silent_bootstrap(self, silent_bootstrap: bool) -> Self
Sourcepub fn active_bootstrap_policy(&self) -> BootstrapPolicy
pub fn active_bootstrap_policy(&self) -> BootstrapPolicy
Returns the bootstrap policy for an active deployment.
Trait Implementations§
Source§impl Clone for BootstrapConfig
impl Clone for BootstrapConfig
Source§fn clone(&self) -> BootstrapConfig
fn clone(&self) -> BootstrapConfig
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 BootstrapConfig
impl Debug for BootstrapConfig
Source§impl Default for BootstrapConfig
impl Default for BootstrapConfig
Source§fn default() -> BootstrapConfig
fn default() -> BootstrapConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BootstrapConfig
impl<'de> Deserialize<'de> for BootstrapConfig
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
Source§impl From<BootstrapPolicy> for BootstrapConfig
impl From<BootstrapPolicy> for BootstrapConfig
Source§fn from(bootstrap_policy: BootstrapPolicy) -> Self
fn from(bootstrap_policy: BootstrapPolicy) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BootstrapConfig
impl PartialEq for BootstrapConfig
Source§fn eq(&self, other: &BootstrapConfig) -> bool
fn eq(&self, other: &BootstrapConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BootstrapConfig
impl Serialize for BootstrapConfig
Source§impl<'__s> ToSchema<'__s> for BootstrapConfig
impl<'__s> ToSchema<'__s> for BootstrapConfig
impl Copy for BootstrapConfig
impl Eq for BootstrapConfig
impl StructuralPartialEq for BootstrapConfig
Auto Trait Implementations§
impl Freeze for BootstrapConfig
impl RefUnwindSafe for BootstrapConfig
impl Send for BootstrapConfig
impl Sync for BootstrapConfig
impl Unpin for BootstrapConfig
impl UnsafeUnpin for BootstrapConfig
impl UnwindSafe for BootstrapConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.