Struct google_redis1::api::RescheduleMaintenanceRequest
source · pub struct RescheduleMaintenanceRequest {
pub reschedule_type: Option<String>,
pub schedule_time: Option<DateTime<Utc>>,
}
Expand description
Request for RescheduleMaintenance.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§reschedule_type: Option<String>
Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.
schedule_time: Option<DateTime<Utc>>
Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example 2012-11-15T16:19:00.094Z
.
Trait Implementations§
source§impl Clone for RescheduleMaintenanceRequest
impl Clone for RescheduleMaintenanceRequest
source§fn clone(&self) -> RescheduleMaintenanceRequest
fn clone(&self) -> RescheduleMaintenanceRequest
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 RescheduleMaintenanceRequest
impl Debug for RescheduleMaintenanceRequest
source§impl Default for RescheduleMaintenanceRequest
impl Default for RescheduleMaintenanceRequest
source§fn default() -> RescheduleMaintenanceRequest
fn default() -> RescheduleMaintenanceRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RescheduleMaintenanceRequest
impl<'de> Deserialize<'de> for RescheduleMaintenanceRequest
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 RequestValue for RescheduleMaintenanceRequest
Auto Trait Implementations§
impl RefUnwindSafe for RescheduleMaintenanceRequest
impl Send for RescheduleMaintenanceRequest
impl Sync for RescheduleMaintenanceRequest
impl Unpin for RescheduleMaintenanceRequest
impl UnwindSafe for RescheduleMaintenanceRequest
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