#[non_exhaustive]pub struct GetIndexRequest {
pub project_id: String,
pub index_id: String,
/* private fields */
}Expand description
The request for google.datastore.admin.v1.DatastoreAdmin.GetIndex.
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 get.
Implementations§
Source§impl GetIndexRequest
impl GetIndexRequest
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 GetIndexRequest
impl Clone for GetIndexRequest
Source§fn clone(&self) -> GetIndexRequest
fn clone(&self) -> GetIndexRequest
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 GetIndexRequest
impl Debug for GetIndexRequest
Source§impl Default for GetIndexRequest
impl Default for GetIndexRequest
Source§fn default() -> GetIndexRequest
fn default() -> GetIndexRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetIndexRequest
impl Message for GetIndexRequest
Source§impl PartialEq for GetIndexRequest
impl PartialEq for GetIndexRequest
impl StructuralPartialEq for GetIndexRequest
Auto Trait Implementations§
impl Freeze for GetIndexRequest
impl RefUnwindSafe for GetIndexRequest
impl Send for GetIndexRequest
impl Sync for GetIndexRequest
impl Unpin for GetIndexRequest
impl UnwindSafe for GetIndexRequest
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