#[non_exhaustive]pub struct DataTableOperationErrors {
pub name: String,
pub rpc_errors: Vec<Status>,
/* private fields */
}Expand description
The message containing the errors for a data table operation.
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.name: StringIdentifier. Resource name for the data table operation errors. Format: projects/{project}/locations/{location}/instances/{instance}/dataTableOperationErrors/{data_table_operation_errors}
rpc_errors: Vec<Status>The list of errors.
Replaces the deprecated errors field.
Implementations§
Source§impl DataTableOperationErrors
impl DataTableOperationErrors
Sourcepub fn set_rpc_errors<T, V>(self, v: T) -> Self
pub fn set_rpc_errors<T, V>(self, v: T) -> Self
Sets the value of rpc_errors.
§Example
ⓘ
use google_cloud_rpc::model::Status;
let x = DataTableOperationErrors::new()
.set_rpc_errors([
Status::default()/* use setters */,
Status::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for DataTableOperationErrors
impl Clone for DataTableOperationErrors
Source§fn clone(&self) -> DataTableOperationErrors
fn clone(&self) -> DataTableOperationErrors
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 DataTableOperationErrors
impl Debug for DataTableOperationErrors
Source§impl Default for DataTableOperationErrors
impl Default for DataTableOperationErrors
Source§fn default() -> DataTableOperationErrors
fn default() -> DataTableOperationErrors
Returns the “default value” for a type. Read more
Source§impl Message for DataTableOperationErrors
impl Message for DataTableOperationErrors
Source§impl PartialEq for DataTableOperationErrors
impl PartialEq for DataTableOperationErrors
impl StructuralPartialEq for DataTableOperationErrors
Auto Trait Implementations§
impl Freeze for DataTableOperationErrors
impl RefUnwindSafe for DataTableOperationErrors
impl Send for DataTableOperationErrors
impl Sync for DataTableOperationErrors
impl Unpin for DataTableOperationErrors
impl UnsafeUnpin for DataTableOperationErrors
impl UnwindSafe for DataTableOperationErrors
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