pub struct AutoStop {
pub enabled: bool,
}Expand description
AutoStop : AutoStop configures automatic stopping of idle instances. An instance is considered idle if it is more than two days old, hasn’t been connected to in over a day, and has not been resumed within the last day. Idle instances are stopped in the time window 9-9:30 AM ET.
Fields§
§enabled: boolEnable automatic stopping of the instance when idle.
Implementations§
Source§impl AutoStop
impl AutoStop
Sourcepub fn new(enabled: bool) -> AutoStop
pub fn new(enabled: bool) -> AutoStop
AutoStop configures automatic stopping of idle instances. An instance is considered idle if it is more than two days old, hasn’t been connected to in over a day, and has not been resumed within the last day. Idle instances are stopped in the time window 9-9:30 AM ET.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AutoStop
impl<'de> Deserialize<'de> for AutoStop
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
impl StructuralPartialEq for AutoStop
Auto Trait Implementations§
impl Freeze for AutoStop
impl RefUnwindSafe for AutoStop
impl Send for AutoStop
impl Sync for AutoStop
impl Unpin for AutoStop
impl UnwindSafe for AutoStop
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