Struct google_compute1::api::ResourcePolicyHourlyCycle
source · pub struct ResourcePolicyHourlyCycle {
pub duration: Option<String>,
pub hours_in_cycle: Option<i32>,
pub start_time: Option<String>,
}
Expand description
Time window specified for hourly operations.
This type is not used in any activity, and only used as part of another schema.
Fields§
§duration: Option<String>
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
hours_in_cycle: Option<i32>
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
start_time: Option<String>
Time within the window to start the operations. It must be in format “HH:MM”, where HH : [00-23] and MM : [00-00] GMT.
Trait Implementations§
source§impl Clone for ResourcePolicyHourlyCycle
impl Clone for ResourcePolicyHourlyCycle
source§fn clone(&self) -> ResourcePolicyHourlyCycle
fn clone(&self) -> ResourcePolicyHourlyCycle
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 ResourcePolicyHourlyCycle
impl Debug for ResourcePolicyHourlyCycle
source§impl Default for ResourcePolicyHourlyCycle
impl Default for ResourcePolicyHourlyCycle
source§fn default() -> ResourcePolicyHourlyCycle
fn default() -> ResourcePolicyHourlyCycle
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourcePolicyHourlyCycle
impl<'de> Deserialize<'de> for ResourcePolicyHourlyCycle
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 Part for ResourcePolicyHourlyCycle
Auto Trait Implementations§
impl RefUnwindSafe for ResourcePolicyHourlyCycle
impl Send for ResourcePolicyHourlyCycle
impl Sync for ResourcePolicyHourlyCycle
impl Unpin for ResourcePolicyHourlyCycle
impl UnwindSafe for ResourcePolicyHourlyCycle
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