#[non_exhaustive]pub struct ExportJobResult {
pub exported_entries: i64,
pub error_message: String,
/* private fields */
}Expand description
Summary results from a metadata export job. The results are a snapshot of the metadata at the time when the job was created. The exported entries are saved to a Cloud Storage bucket.
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.exported_entries: i64Output only. The number of entries that were exported.
error_message: StringOutput only. The error message if the metadata export job failed.
Implementations§
Source§impl ExportJobResult
impl ExportJobResult
pub fn new() -> Self
Sourcepub fn set_exported_entries<T: Into<i64>>(self, v: T) -> Self
pub fn set_exported_entries<T: Into<i64>>(self, v: T) -> Self
Sets the value of exported_entries.
Sourcepub fn set_error_message<T: Into<String>>(self, v: T) -> Self
pub fn set_error_message<T: Into<String>>(self, v: T) -> Self
Sets the value of error_message.
Trait Implementations§
Source§impl Clone for ExportJobResult
impl Clone for ExportJobResult
Source§fn clone(&self) -> ExportJobResult
fn clone(&self) -> ExportJobResult
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 ExportJobResult
impl Debug for ExportJobResult
Source§impl Default for ExportJobResult
impl Default for ExportJobResult
Source§fn default() -> ExportJobResult
fn default() -> ExportJobResult
Returns the “default value” for a type. Read more
Source§impl Message for ExportJobResult
impl Message for ExportJobResult
Source§impl PartialEq for ExportJobResult
impl PartialEq for ExportJobResult
impl StructuralPartialEq for ExportJobResult
Auto Trait Implementations§
impl Freeze for ExportJobResult
impl RefUnwindSafe for ExportJobResult
impl Send for ExportJobResult
impl Sync for ExportJobResult
impl Unpin for ExportJobResult
impl UnwindSafe for ExportJobResult
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