#[non_exhaustive]pub struct DatasetResult {
pub overview: String,
pub schema_relationships: Vec<SchemaRelationship>,
pub queries: Vec<Query>,
/* private fields */
}Expand description
Insights for a dataset resource.
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.overview: StringOutput only. Generated Dataset description.
schema_relationships: Vec<SchemaRelationship>Output only. Relationships suggesting how tables in the dataset are related to each other, based on their schema.
queries: Vec<Query>Output only. Sample SQL queries for the dataset.
Implementations§
Source§impl DatasetResult
impl DatasetResult
Sourcepub fn set_overview<T: Into<String>>(self, v: T) -> Self
pub fn set_overview<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_schema_relationships<T, V>(self, v: T) -> Self
pub fn set_schema_relationships<T, V>(self, v: T) -> Self
Sets the value of schema_relationships.
§Example
ⓘ
use google_cloud_dataplex_v1::model::data_documentation_result::SchemaRelationship;
let x = DatasetResult::new()
.set_schema_relationships([
SchemaRelationship::default()/* use setters */,
SchemaRelationship::default()/* use (different) setters */,
]);Sourcepub fn set_queries<T, V>(self, v: T) -> Self
pub fn set_queries<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for DatasetResult
impl Clone for DatasetResult
Source§fn clone(&self) -> DatasetResult
fn clone(&self) -> DatasetResult
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 DatasetResult
impl Debug for DatasetResult
Source§impl Default for DatasetResult
impl Default for DatasetResult
Source§fn default() -> DatasetResult
fn default() -> DatasetResult
Returns the “default value” for a type. Read more
Source§impl Message for DatasetResult
impl Message for DatasetResult
Source§impl PartialEq for DatasetResult
impl PartialEq for DatasetResult
impl StructuralPartialEq for DatasetResult
Auto Trait Implementations§
impl Freeze for DatasetResult
impl RefUnwindSafe for DatasetResult
impl Send for DatasetResult
impl Sync for DatasetResult
impl Unpin for DatasetResult
impl UnsafeUnpin for DatasetResult
impl UnwindSafe for DatasetResult
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