pub struct Backup {
pub backup_name: String,
pub bucket: Value,
pub duration_in_seconds: f64,
pub finished_at: DateTime<Utc>,
pub id: Uuid,
pub service_id: String,
pub size_in_bytes: f64,
pub started_at: DateTime<Utc>,
pub status: BackupStatus,
pub type: BackupType,
}Expand description
Backup from the ClickHouse Cloud API.
Fields§
§backup_name: String§bucket: Value§duration_in_seconds: f64§finished_at: DateTime<Utc>§id: Uuid§service_id: String§size_in_bytes: f64§started_at: DateTime<Utc>§status: BackupStatus§type: BackupTypeTrait Implementations§
Source§impl<'de> Deserialize<'de> for Backup
impl<'de> Deserialize<'de> for Backup
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 StructuralPartialEq for Backup
Auto Trait Implementations§
impl Freeze for Backup
impl RefUnwindSafe for Backup
impl Send for Backup
impl Sync for Backup
impl Unpin for Backup
impl UnsafeUnpin for Backup
impl UnwindSafe for Backup
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