#[non_exhaustive]pub struct ErrorLogEntry {
pub object_uri: String,
pub error_details: Vec<String>,
/* private fields */
}Expand description
An entry describing an error that has occurred.
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.object_uri: StringRequired. Output only. Object URL. e.g. gs://my_bucket/object.txt
error_details: Vec<String>Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.
Implementations§
Source§impl ErrorLogEntry
impl ErrorLogEntry
pub fn new() -> Self
Sourcepub fn set_object_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_object_uri<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_error_details<T, V>(self, v: T) -> Self
pub fn set_error_details<T, V>(self, v: T) -> Self
Sets the value of error_details.
§Example
ⓘ
let x = ErrorLogEntry::new().set_error_details(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for ErrorLogEntry
impl Clone for ErrorLogEntry
Source§fn clone(&self) -> ErrorLogEntry
fn clone(&self) -> ErrorLogEntry
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 ErrorLogEntry
impl Debug for ErrorLogEntry
Source§impl Default for ErrorLogEntry
impl Default for ErrorLogEntry
Source§fn default() -> ErrorLogEntry
fn default() -> ErrorLogEntry
Returns the “default value” for a type. Read more
Source§impl Message for ErrorLogEntry
impl Message for ErrorLogEntry
Source§impl PartialEq for ErrorLogEntry
impl PartialEq for ErrorLogEntry
impl StructuralPartialEq for ErrorLogEntry
Auto Trait Implementations§
impl Freeze for ErrorLogEntry
impl RefUnwindSafe for ErrorLogEntry
impl Send for ErrorLogEntry
impl Sync for ErrorLogEntry
impl Unpin for ErrorLogEntry
impl UnwindSafe for ErrorLogEntry
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