pub struct BackupCreateRequest {
pub id: String,
pub include: Option<Vec<String>>,
pub exclude: Option<Vec<String>>,
}
Expand description
BackupCreateRequest struct defining the options for the json payload required to create a new backup.
Fields§
§id: String
§include: Option<Vec<String>>
§exclude: Option<Vec<String>>
Implementations§
source§impl BackupCreateRequest
impl BackupCreateRequest
sourcepub fn builder(id: &str) -> BackupCreateRequestBuilder
pub fn builder(id: &str) -> BackupCreateRequestBuilder
Trait Implementations§
source§impl Debug for BackupCreateRequest
impl Debug for BackupCreateRequest
source§impl<'de> Deserialize<'de> for BackupCreateRequest
impl<'de> Deserialize<'de> for BackupCreateRequest
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 RefUnwindSafe for BackupCreateRequest
impl Send for BackupCreateRequest
impl Sync for BackupCreateRequest
impl Unpin for BackupCreateRequest
impl UnwindSafe for BackupCreateRequest
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