pub struct DatabasesCreateClusterBodyMaintenanceWindow {
pub day: String,
pub description: Vec<String>,
pub hour: String,
pub pending: Option<bool>,
}Expand description
DatabasesCreateClusterBodyMaintenanceWindow
JSON schema
{
"type": "object",
"required": [
"day",
"hour"
],
"properties": {
"day": {
"description": "The day of the week on which to apply maintenance updates.",
"examples": [
"tuesday"
],
"type": "string"
},
"description": {
"description": "A list of strings, each containing information about a pending maintenance update.",
"readOnly": true,
"examples": [
[
"Update TimescaleDB to version 1.2.1",
"Upgrade to PostgreSQL 11.2 and 10.7 bugfix releases"
]
],
"type": "array",
"items": {
"type": "string"
}
},
"hour": {
"description": "The hour in UTC at which maintenance updates will be applied in 24 hour format.",
"examples": [
"14:00"
],
"type": "string"
},
"pending": {
"description": "A boolean value indicating whether any maintenance is scheduled to be performed in the next window.",
"readOnly": true,
"examples": [
true
],
"type": "boolean"
}
}
}Fields§
§day: StringThe day of the week on which to apply maintenance updates.
description: Vec<String>A list of strings, each containing information about a pending maintenance update.
hour: StringThe hour in UTC at which maintenance updates will be applied in 24 hour format.
pending: Option<bool>A boolean value indicating whether any maintenance is scheduled to be performed in the next window.
Trait Implementations§
Source§impl Clone for DatabasesCreateClusterBodyMaintenanceWindow
impl Clone for DatabasesCreateClusterBodyMaintenanceWindow
Source§fn clone(&self) -> DatabasesCreateClusterBodyMaintenanceWindow
fn clone(&self) -> DatabasesCreateClusterBodyMaintenanceWindow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for DatabasesCreateClusterBodyMaintenanceWindow
impl<'de> Deserialize<'de> for DatabasesCreateClusterBodyMaintenanceWindow
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 From<&DatabasesCreateClusterBodyMaintenanceWindow> for DatabasesCreateClusterBodyMaintenanceWindow
impl From<&DatabasesCreateClusterBodyMaintenanceWindow> for DatabasesCreateClusterBodyMaintenanceWindow
Source§fn from(value: &DatabasesCreateClusterBodyMaintenanceWindow) -> Self
fn from(value: &DatabasesCreateClusterBodyMaintenanceWindow) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DatabasesCreateClusterBodyMaintenanceWindow
impl RefUnwindSafe for DatabasesCreateClusterBodyMaintenanceWindow
impl Send for DatabasesCreateClusterBodyMaintenanceWindow
impl Sync for DatabasesCreateClusterBodyMaintenanceWindow
impl Unpin for DatabasesCreateClusterBodyMaintenanceWindow
impl UnsafeUnpin for DatabasesCreateClusterBodyMaintenanceWindow
impl UnwindSafe for DatabasesCreateClusterBodyMaintenanceWindow
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