#[non_exhaustive]pub struct CreateIndexRequest {
pub parent: String,
pub index: Option<Index>,
/* private fields */
}Expand description
The request for FirestoreAdmin.CreateIndex.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. A parent name of the form
projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}
index: Option<Index>Required. The composite index to create.
Implementations§
Source§impl CreateIndexRequest
impl CreateIndexRequest
Trait Implementations§
Source§impl Clone for CreateIndexRequest
impl Clone for CreateIndexRequest
Source§fn clone(&self) -> CreateIndexRequest
fn clone(&self) -> CreateIndexRequest
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 CreateIndexRequest
impl Debug for CreateIndexRequest
Source§impl Default for CreateIndexRequest
impl Default for CreateIndexRequest
Source§fn default() -> CreateIndexRequest
fn default() -> CreateIndexRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateIndexRequest
impl Message for CreateIndexRequest
Source§impl PartialEq for CreateIndexRequest
impl PartialEq for CreateIndexRequest
impl StructuralPartialEq for CreateIndexRequest
Auto Trait Implementations§
impl Freeze for CreateIndexRequest
impl RefUnwindSafe for CreateIndexRequest
impl Send for CreateIndexRequest
impl Sync for CreateIndexRequest
impl Unpin for CreateIndexRequest
impl UnwindSafe for CreateIndexRequest
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