pub struct GoogleCloudMlV1beta1__ManualScaling {
pub nodes: Option<i32>,
}
Expand description
Options for manually scaling a model.
This type is not used in any activity, and only used as part of another schema.
Fields§
§nodes: Option<i32>
The number of nodes to allocate for this model. These nodes are always up, starting from the time the model is deployed, so the cost of operating this model will be proportional to nodes * number of hours since deployment.
Trait Implementations§
source§impl Clone for GoogleCloudMlV1beta1__ManualScaling
impl Clone for GoogleCloudMlV1beta1__ManualScaling
source§fn clone(&self) -> GoogleCloudMlV1beta1__ManualScaling
fn clone(&self) -> GoogleCloudMlV1beta1__ManualScaling
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 Default for GoogleCloudMlV1beta1__ManualScaling
impl Default for GoogleCloudMlV1beta1__ManualScaling
source§fn default() -> GoogleCloudMlV1beta1__ManualScaling
fn default() -> GoogleCloudMlV1beta1__ManualScaling
Returns the “default value” for a type. Read more
source§impl Deserialize for GoogleCloudMlV1beta1__ManualScaling
impl Deserialize for GoogleCloudMlV1beta1__ManualScaling
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudMlV1beta1__ManualScaling
Auto Trait Implementations§
impl Freeze for GoogleCloudMlV1beta1__ManualScaling
impl RefUnwindSafe for GoogleCloudMlV1beta1__ManualScaling
impl Send for GoogleCloudMlV1beta1__ManualScaling
impl Sync for GoogleCloudMlV1beta1__ManualScaling
impl Unpin for GoogleCloudMlV1beta1__ManualScaling
impl UnwindSafe for GoogleCloudMlV1beta1__ManualScaling
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more