pub struct CreateDeployment {
pub container_strategy: ScalingStrategy,
pub env: HashMap<String, String>,
pub image: Image,
pub name: Option<String>,
pub resources: Resources,
pub type_: ContainerType,
}Fields
container_strategy: ScalingStrategyenv: HashMap<String, String>image: Imagename: Option<String>resources: Resourcestype_: ContainerTypeImplementations
sourceimpl CreateDeployment
impl CreateDeployment
pub fn from_deployment(deployment: &Deployment) -> Self
Trait Implementations
sourceimpl Clone for CreateDeployment
impl Clone for CreateDeployment
sourcefn clone(&self) -> CreateDeployment
fn clone(&self) -> CreateDeployment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CreateDeployment
impl Debug for CreateDeployment
sourceimpl Default for CreateDeployment
impl Default for CreateDeployment
sourcefn default() -> CreateDeployment
fn default() -> CreateDeployment
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateDeployment> for CreateDeployment
impl PartialEq<CreateDeployment> for CreateDeployment
sourcefn eq(&self, other: &CreateDeployment) -> bool
fn eq(&self, other: &CreateDeployment) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Serialize for CreateDeployment
impl Serialize for CreateDeployment
impl StructuralPartialEq for CreateDeployment
Auto Trait Implementations
impl RefUnwindSafe for CreateDeployment
impl Send for CreateDeployment
impl Sync for CreateDeployment
impl Unpin for CreateDeployment
impl UnwindSafe for CreateDeployment
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more