#[non_exhaustive]pub struct DestinationTableProperties {
pub friendly_name: Option<StringValue>,
pub description: Option<StringValue>,
pub labels: HashMap<String, String>,
/* private fields */
}Expand description
Properties for the destination table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.friendly_name: Option<StringValue>Optional. Friendly name for the destination table. If the table already exists, it should be same as the existing friendly name.
description: Option<StringValue>Optional. The description for the destination table. This will only be used if the destination table is newly created. If the table already exists and a value different than the current description is provided, the job will fail.
labels: HashMap<String, String>Optional. The labels associated with this table. You can use these to organize and group your tables. This will only be used if the destination table is newly created. If the table already exists and labels are different than the current labels are provided, the job will fail.
Implementations§
Source§impl DestinationTableProperties
impl DestinationTableProperties
Sourcepub fn set_friendly_name<T>(self, v: T) -> Selfwhere
T: Into<StringValue>,
pub fn set_friendly_name<T>(self, v: T) -> Selfwhere
T: Into<StringValue>,
Sets the value of friendly_name.
§Example
use wkt::StringValue;
let x = DestinationTableProperties::new().set_friendly_name(StringValue::default()/* use setters */);Sourcepub fn set_or_clear_friendly_name<T>(self, v: Option<T>) -> Selfwhere
T: Into<StringValue>,
pub fn set_or_clear_friendly_name<T>(self, v: Option<T>) -> Selfwhere
T: Into<StringValue>,
Sets or clears the value of friendly_name.
§Example
use wkt::StringValue;
let x = DestinationTableProperties::new().set_or_clear_friendly_name(Some(StringValue::default()/* use setters */));
let x = DestinationTableProperties::new().set_or_clear_friendly_name(None::<StringValue>);Sourcepub fn set_description<T>(self, v: T) -> Selfwhere
T: Into<StringValue>,
pub fn set_description<T>(self, v: T) -> Selfwhere
T: Into<StringValue>,
Sets the value of description.
§Example
use wkt::StringValue;
let x = DestinationTableProperties::new().set_description(StringValue::default()/* use setters */);Sourcepub fn set_or_clear_description<T>(self, v: Option<T>) -> Selfwhere
T: Into<StringValue>,
pub fn set_or_clear_description<T>(self, v: Option<T>) -> Selfwhere
T: Into<StringValue>,
Sets or clears the value of description.
§Example
use wkt::StringValue;
let x = DestinationTableProperties::new().set_or_clear_description(Some(StringValue::default()/* use setters */));
let x = DestinationTableProperties::new().set_or_clear_description(None::<StringValue>);Trait Implementations§
Source§impl Clone for DestinationTableProperties
impl Clone for DestinationTableProperties
Source§fn clone(&self) -> DestinationTableProperties
fn clone(&self) -> DestinationTableProperties
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DestinationTableProperties
impl Debug for DestinationTableProperties
Source§impl Default for DestinationTableProperties
impl Default for DestinationTableProperties
Source§fn default() -> DestinationTableProperties
fn default() -> DestinationTableProperties
Source§impl Message for DestinationTableProperties
impl Message for DestinationTableProperties
impl StructuralPartialEq for DestinationTableProperties
Auto Trait Implementations§
impl Freeze for DestinationTableProperties
impl RefUnwindSafe for DestinationTableProperties
impl Send for DestinationTableProperties
impl Sync for DestinationTableProperties
impl Unpin for DestinationTableProperties
impl UnsafeUnpin for DestinationTableProperties
impl UnwindSafe for DestinationTableProperties
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request