#[non_exhaustive]pub struct AutoUpgradeOptions {
pub auto_upgrade_start_time: String,
pub description: String,
}Expand description
AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.auto_upgrade_start_time: StringOutput only. This field is set when upgrades are about to commence with the approximate start time for the upgrades, in RFC3339 text format.
description: StringOutput only. This field is set when upgrades are about to commence with the description of the upgrade.
Implementations§
Source§impl AutoUpgradeOptions
impl AutoUpgradeOptions
Sourcepub fn set_auto_upgrade_start_time<T: Into<String>>(self, v: T) -> Self
pub fn set_auto_upgrade_start_time<T: Into<String>>(self, v: T) -> Self
Sets the value of auto_upgrade_start_time.
Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.
Trait Implementations§
Source§impl Clone for AutoUpgradeOptions
impl Clone for AutoUpgradeOptions
Source§fn clone(&self) -> AutoUpgradeOptions
fn clone(&self) -> AutoUpgradeOptions
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 AutoUpgradeOptions
impl Debug for AutoUpgradeOptions
Source§impl Default for AutoUpgradeOptions
impl Default for AutoUpgradeOptions
Source§fn default() -> AutoUpgradeOptions
fn default() -> AutoUpgradeOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoUpgradeOptionswhere
AutoUpgradeOptions: Default,
impl<'de> Deserialize<'de> for AutoUpgradeOptionswhere
AutoUpgradeOptions: Default,
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 Message for AutoUpgradeOptions
impl Message for AutoUpgradeOptions
Source§impl PartialEq for AutoUpgradeOptions
impl PartialEq for AutoUpgradeOptions
Source§impl Serialize for AutoUpgradeOptions
impl Serialize for AutoUpgradeOptions
impl StructuralPartialEq for AutoUpgradeOptions
Auto Trait Implementations§
impl Freeze for AutoUpgradeOptions
impl RefUnwindSafe for AutoUpgradeOptions
impl Send for AutoUpgradeOptions
impl Sync for AutoUpgradeOptions
impl Unpin for AutoUpgradeOptions
impl UnwindSafe for AutoUpgradeOptions
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