Struct google_api_proto::google::cloud::retail::logging::ImportErrorContext
source · pub struct ImportErrorContext {
pub operation_name: String,
pub gcs_path: String,
pub line_number: String,
pub line_content: Option<LineContent>,
}
Expand description
The error payload that is populated on LRO import APIs, including “google.cloud.retail.v2.ProductService.ImportProducts” and “google.cloud.retail.v2.EventService.ImportUserEvents”.
Fields§
§operation_name: String
The operation resource name of the LRO.
gcs_path: String
Cloud Storage file path of the import source. Can be set for batch operation error.
line_number: String
Line number of the content in file. Should be empty for permission or batch operation error.
line_content: Option<LineContent>
Detailed content which caused the error. Should be empty for permission or batch operation error.
Trait Implementations§
source§impl Clone for ImportErrorContext
impl Clone for ImportErrorContext
source§fn clone(&self) -> ImportErrorContext
fn clone(&self) -> ImportErrorContext
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 ImportErrorContext
impl Debug for ImportErrorContext
source§impl Default for ImportErrorContext
impl Default for ImportErrorContext
source§impl Message for ImportErrorContext
impl Message for ImportErrorContext
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 ImportErrorContext
impl PartialEq for ImportErrorContext
source§fn eq(&self, other: &ImportErrorContext) -> bool
fn eq(&self, other: &ImportErrorContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportErrorContext
Auto Trait Implementations§
impl Freeze for ImportErrorContext
impl RefUnwindSafe for ImportErrorContext
impl Send for ImportErrorContext
impl Sync for ImportErrorContext
impl Unpin for ImportErrorContext
impl UnwindSafe for ImportErrorContext
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