pub struct GoogleFirestoreAdminV1ImportDocumentsRequest {
pub collection_ids: Option<Vec<String>>,
pub input_uri_prefix: Option<String>,
pub namespace_ids: Option<Vec<String>>,
}
Expand description
The request for FirestoreAdmin.ImportDocuments.
§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).
- databases import documents projects (request)
Fields§
§collection_ids: Option<Vec<String>>
Which collection ids to import. Unspecified means all collections included in the import. Each collection id in this list must be unique.
input_uri_prefix: Option<String>
Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.
namespace_ids: Option<Vec<String>>
An empty list represents all namespaces. This is the preferred usage for databases that don’t use namespaces. An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn’t want to include them. Each namespace in this list must be unique.
Trait Implementations§
Source§impl Clone for GoogleFirestoreAdminV1ImportDocumentsRequest
impl Clone for GoogleFirestoreAdminV1ImportDocumentsRequest
Source§fn clone(&self) -> GoogleFirestoreAdminV1ImportDocumentsRequest
fn clone(&self) -> GoogleFirestoreAdminV1ImportDocumentsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleFirestoreAdminV1ImportDocumentsRequest
impl Default for GoogleFirestoreAdminV1ImportDocumentsRequest
Source§fn default() -> GoogleFirestoreAdminV1ImportDocumentsRequest
fn default() -> GoogleFirestoreAdminV1ImportDocumentsRequest
Source§impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1ImportDocumentsRequest
impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1ImportDocumentsRequest
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>,
impl RequestValue for GoogleFirestoreAdminV1ImportDocumentsRequest
Auto Trait Implementations§
impl Freeze for GoogleFirestoreAdminV1ImportDocumentsRequest
impl RefUnwindSafe for GoogleFirestoreAdminV1ImportDocumentsRequest
impl Send for GoogleFirestoreAdminV1ImportDocumentsRequest
impl Sync for GoogleFirestoreAdminV1ImportDocumentsRequest
impl Unpin for GoogleFirestoreAdminV1ImportDocumentsRequest
impl UnwindSafe for GoogleFirestoreAdminV1ImportDocumentsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more