Struct google_appengine1::api::ManualScaling
source · pub struct ManualScaling {
pub instances: Option<i32>,
}
Expand description
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
This type is not used in any activity, and only used as part of another schema.
Fields§
§instances: Option<i32>
Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.
Trait Implementations§
source§impl Clone for ManualScaling
impl Clone for ManualScaling
source§fn clone(&self) -> ManualScaling
fn clone(&self) -> 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 Debug for ManualScaling
impl Debug for ManualScaling
source§impl Default for ManualScaling
impl Default for ManualScaling
source§fn default() -> ManualScaling
fn default() -> ManualScaling
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ManualScaling
impl<'de> Deserialize<'de> for ManualScaling
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 Serialize for ManualScaling
impl Serialize for ManualScaling
impl Part for ManualScaling
Auto Trait Implementations§
impl RefUnwindSafe for ManualScaling
impl Send for ManualScaling
impl Sync for ManualScaling
impl Unpin for ManualScaling
impl UnwindSafe for 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