pub struct FixedDatabaseImportRequest {
pub subscription_id: Option<i32>,
pub database_id: Option<i32>,
pub source_type: String,
pub import_from_uri: Vec<String>,
pub command_type: Option<String>,
pub extra: Value,
}
Expand description
Database import request
Fields§
§subscription_id: Option<i32>
§database_id: Option<i32>
§source_type: String
Type of storage from which to import the database RDB file or Redis data.
import_from_uri: Vec<String>
One or more paths to source data files or Redis databases, as appropriate to specified source type.
command_type: Option<String>
§extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for FixedDatabaseImportRequest
impl Clone for FixedDatabaseImportRequest
Source§fn clone(&self) -> FixedDatabaseImportRequest
fn clone(&self) -> FixedDatabaseImportRequest
Returns a duplicate 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 FixedDatabaseImportRequest
impl Debug for FixedDatabaseImportRequest
Source§impl<'de> Deserialize<'de> for FixedDatabaseImportRequest
impl<'de> Deserialize<'de> for FixedDatabaseImportRequest
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 FixedDatabaseImportRequest
impl RefUnwindSafe for FixedDatabaseImportRequest
impl Send for FixedDatabaseImportRequest
impl Sync for FixedDatabaseImportRequest
impl Unpin for FixedDatabaseImportRequest
impl UnwindSafe for FixedDatabaseImportRequest
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