#[non_exhaustive]pub struct WriteLogEntriesPartialErrors {
pub log_entry_errors: HashMap<i32, Status>,
/* private fields */
}Expand description
Error details for WriteLogEntries with partial success.
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.log_entry_errors: HashMap<i32, Status>When WriteLogEntriesRequest.partial_success is true, records the error
status for entries that were not written due to a permanent error, keyed
by the entry’s zero-based index in WriteLogEntriesRequest.entries.
Failed requests for which no entries are written will not include per-entry errors.
Implementations§
Source§impl WriteLogEntriesPartialErrors
impl WriteLogEntriesPartialErrors
pub fn new() -> Self
Sourcepub fn set_log_entry_errors<T, K, V>(self, v: T) -> Self
pub fn set_log_entry_errors<T, K, V>(self, v: T) -> Self
Sets the value of log_entry_errors.
Trait Implementations§
Source§impl Clone for WriteLogEntriesPartialErrors
impl Clone for WriteLogEntriesPartialErrors
Source§fn clone(&self) -> WriteLogEntriesPartialErrors
fn clone(&self) -> WriteLogEntriesPartialErrors
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 WriteLogEntriesPartialErrors
impl Debug for WriteLogEntriesPartialErrors
Source§impl Default for WriteLogEntriesPartialErrors
impl Default for WriteLogEntriesPartialErrors
Source§fn default() -> WriteLogEntriesPartialErrors
fn default() -> WriteLogEntriesPartialErrors
Returns the “default value” for a type. Read more
Source§impl PartialEq for WriteLogEntriesPartialErrors
impl PartialEq for WriteLogEntriesPartialErrors
Source§fn eq(&self, other: &WriteLogEntriesPartialErrors) -> bool
fn eq(&self, other: &WriteLogEntriesPartialErrors) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WriteLogEntriesPartialErrors
Auto Trait Implementations§
impl Freeze for WriteLogEntriesPartialErrors
impl RefUnwindSafe for WriteLogEntriesPartialErrors
impl Send for WriteLogEntriesPartialErrors
impl Sync for WriteLogEntriesPartialErrors
impl Unpin for WriteLogEntriesPartialErrors
impl UnwindSafe for WriteLogEntriesPartialErrors
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