pub struct PostgresDetailMaintenance {
pub id: Option<PostgresDetailMaintenanceId>,
pub pending_maintenance_by: Option<DateTime<Utc>>,
pub scheduled_at: Option<DateTime<Utc>>,
pub state: Option<String>,
pub type_: Option<String>,
}Expand description
PostgresDetailMaintenance
JSON schema
{
"type": "object",
"properties": {
"id": {
"examples": [
"mrn-cph1rs3idesc73a2b2mg"
],
"type": "string",
"pattern": "^mrn-[0-9a-z]{20}$"
},
"pendingMaintenanceBy": {
"description": "If present, the maintenance run cannot be scheduled
for later than this date-time.",
"type": "string",
"format": "date-time"
},
"scheduledAt": {
"type": "string",
"format": "date-time"
},
"state": {
"type": "string"
},
"type": {
"type": "string"
}
}
}Fields§
§id: Option<PostgresDetailMaintenanceId>§pending_maintenance_by: Option<DateTime<Utc>>If present, the maintenance run cannot be scheduled for later than this date-time.
scheduled_at: Option<DateTime<Utc>>§state: Option<String>§type_: Option<String>Trait Implementations§
Source§impl Clone for PostgresDetailMaintenance
impl Clone for PostgresDetailMaintenance
Source§fn clone(&self) -> PostgresDetailMaintenance
fn clone(&self) -> PostgresDetailMaintenance
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 PostgresDetailMaintenance
impl Debug for PostgresDetailMaintenance
Source§impl Default for PostgresDetailMaintenance
impl Default for PostgresDetailMaintenance
Source§impl<'de> Deserialize<'de> for PostgresDetailMaintenance
impl<'de> Deserialize<'de> for PostgresDetailMaintenance
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
Auto Trait Implementations§
impl Freeze for PostgresDetailMaintenance
impl RefUnwindSafe for PostgresDetailMaintenance
impl Send for PostgresDetailMaintenance
impl Sync for PostgresDetailMaintenance
impl Unpin for PostgresDetailMaintenance
impl UnsafeUnpin for PostgresDetailMaintenance
impl UnwindSafe for PostgresDetailMaintenance
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