#[non_exhaustive]pub struct DeleteIndexRequest {
pub project_id: String,
pub index_id: String,
/* private fields */
}Expand description
The request for google.datastore.admin.v1.DatastoreAdmin.DeleteIndex.
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.project_id: StringProject ID against which to make the request.
index_id: StringThe resource ID of the index to delete.
Implementations§
Source§impl DeleteIndexRequest
impl DeleteIndexRequest
pub fn new() -> Self
Sourcepub fn set_project_id<T: Into<String>>(self, v: T) -> Self
pub fn set_project_id<T: Into<String>>(self, v: T) -> Self
Sets the value of project_id.
Sourcepub fn set_index_id<T: Into<String>>(self, v: T) -> Self
pub fn set_index_id<T: Into<String>>(self, v: T) -> Self
Sets the value of index_id.
Trait Implementations§
Source§impl Clone for DeleteIndexRequest
impl Clone for DeleteIndexRequest
Source§fn clone(&self) -> DeleteIndexRequest
fn clone(&self) -> DeleteIndexRequest
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 DeleteIndexRequest
impl Debug for DeleteIndexRequest
Source§impl Default for DeleteIndexRequest
impl Default for DeleteIndexRequest
Source§fn default() -> DeleteIndexRequest
fn default() -> DeleteIndexRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteIndexRequest
impl Message for DeleteIndexRequest
Source§impl PartialEq for DeleteIndexRequest
impl PartialEq for DeleteIndexRequest
impl StructuralPartialEq for DeleteIndexRequest
Auto Trait Implementations§
impl Freeze for DeleteIndexRequest
impl RefUnwindSafe for DeleteIndexRequest
impl Send for DeleteIndexRequest
impl Sync for DeleteIndexRequest
impl Unpin for DeleteIndexRequest
impl UnwindSafe for DeleteIndexRequest
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