Struct google_api_proto::google::cloud::dataplex::v1::action::IncompatibleDataSchema
source · pub struct IncompatibleDataSchema {
pub table: String,
pub existing_schema: String,
pub new_schema: String,
pub sampled_data_locations: Vec<String>,
pub schema_change: i32,
}
Expand description
Action details for incompatible schemas detected by discovery.
Fields§
§table: String
The name of the table containing invalid data.
existing_schema: String
The existing and expected schema of the table. The schema is provided as a JSON formatted structure listing columns and data types.
new_schema: String
The new and incompatible schema within the table. The schema is provided as a JSON formatted structured listing columns and data types.
sampled_data_locations: Vec<String>
The list of data locations sampled and used for format/schema inference.
schema_change: i32
Whether the action relates to a schema that is incompatible or modified.
Implementations§
source§impl IncompatibleDataSchema
impl IncompatibleDataSchema
sourcepub fn schema_change(&self) -> SchemaChange
pub fn schema_change(&self) -> SchemaChange
Returns the enum value of schema_change
, or the default if the field is set to an invalid enum value.
sourcepub fn set_schema_change(&mut self, value: SchemaChange)
pub fn set_schema_change(&mut self, value: SchemaChange)
Sets schema_change
to the provided enum value.
Trait Implementations§
source§impl Clone for IncompatibleDataSchema
impl Clone for IncompatibleDataSchema
source§fn clone(&self) -> IncompatibleDataSchema
fn clone(&self) -> IncompatibleDataSchema
Returns a copy 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 IncompatibleDataSchema
impl Debug for IncompatibleDataSchema
source§impl Default for IncompatibleDataSchema
impl Default for IncompatibleDataSchema
source§impl Message for IncompatibleDataSchema
impl Message for IncompatibleDataSchema
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for IncompatibleDataSchema
impl PartialEq for IncompatibleDataSchema
source§fn eq(&self, other: &IncompatibleDataSchema) -> bool
fn eq(&self, other: &IncompatibleDataSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IncompatibleDataSchema
Auto Trait Implementations§
impl Freeze for IncompatibleDataSchema
impl RefUnwindSafe for IncompatibleDataSchema
impl Send for IncompatibleDataSchema
impl Sync for IncompatibleDataSchema
impl Unpin for IncompatibleDataSchema
impl UnwindSafe for IncompatibleDataSchema
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Wrap the input message
T
in a tonic::Request