pub struct UpgradeWindowPutRequest {
pub start_hour_utc: i64,
pub weekday: i64,
}Expand description
UpgradeWindowPutRequest from the ClickHouse Cloud API.
Fields§
§start_hour_utc: i64§weekday: i64Trait Implementations§
Source§impl Clone for UpgradeWindowPutRequest
impl Clone for UpgradeWindowPutRequest
Source§fn clone(&self) -> UpgradeWindowPutRequest
fn clone(&self) -> UpgradeWindowPutRequest
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 Debug for UpgradeWindowPutRequest
impl Debug for UpgradeWindowPutRequest
Source§impl Default for UpgradeWindowPutRequest
impl Default for UpgradeWindowPutRequest
Source§fn default() -> UpgradeWindowPutRequest
fn default() -> UpgradeWindowPutRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpgradeWindowPutRequest
impl<'de> Deserialize<'de> for UpgradeWindowPutRequest
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 PartialEq for UpgradeWindowPutRequest
impl PartialEq for UpgradeWindowPutRequest
Source§impl Serialize for UpgradeWindowPutRequest
impl Serialize for UpgradeWindowPutRequest
impl StructuralPartialEq for UpgradeWindowPutRequest
Source§impl TryFrom<UpgradeWindow> for UpgradeWindowPutRequest
impl TryFrom<UpgradeWindow> for UpgradeWindowPutRequest
Source§fn try_from(value: UpgradeWindow) -> Result<Self, Self::Error>
fn try_from(value: UpgradeWindow) -> Result<Self, Self::Error>
Turns a fetched upgrade window into one that can be re-sent.
duration is response-only (the API derives it), so only the window’s
start hour and weekday cross over — and both are required.
Source§type Error = MissingRequiredFields
type Error = MissingRequiredFields
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for UpgradeWindowPutRequest
impl RefUnwindSafe for UpgradeWindowPutRequest
impl Send for UpgradeWindowPutRequest
impl Sync for UpgradeWindowPutRequest
impl Unpin for UpgradeWindowPutRequest
impl UnsafeUnpin for UpgradeWindowPutRequest
impl UnwindSafe for UpgradeWindowPutRequest
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