#[non_exhaustive]pub struct QueryMetadataRequest {
pub service: String,
pub query: String,
/* private fields */
}Expand description
Request message for DataprocMetastore.QueryMetadata.
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.service: StringRequired. The relative resource name of the metastore service to query metadata, in the following format:
projects/{project_id}/locations/{location_id}/services/{service_id}.
query: StringRequired. A read-only SQL query to execute against the metadata database. The query cannot change or mutate the data.
Implementations§
Source§impl QueryMetadataRequest
impl QueryMetadataRequest
Sourcepub fn set_service<T: Into<String>>(self, v: T) -> Self
pub fn set_service<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for QueryMetadataRequest
impl Clone for QueryMetadataRequest
Source§fn clone(&self) -> QueryMetadataRequest
fn clone(&self) -> QueryMetadataRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QueryMetadataRequest
impl Debug for QueryMetadataRequest
Source§impl Default for QueryMetadataRequest
impl Default for QueryMetadataRequest
Source§fn default() -> QueryMetadataRequest
fn default() -> QueryMetadataRequest
Returns the “default value” for a type. Read more
Source§impl Message for QueryMetadataRequest
impl Message for QueryMetadataRequest
Source§impl PartialEq for QueryMetadataRequest
impl PartialEq for QueryMetadataRequest
Source§fn eq(&self, other: &QueryMetadataRequest) -> bool
fn eq(&self, other: &QueryMetadataRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QueryMetadataRequest
Auto Trait Implementations§
impl Freeze for QueryMetadataRequest
impl RefUnwindSafe for QueryMetadataRequest
impl Send for QueryMetadataRequest
impl Sync for QueryMetadataRequest
impl Unpin for QueryMetadataRequest
impl UnsafeUnpin for QueryMetadataRequest
impl UnwindSafe for QueryMetadataRequest
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