#[non_exhaustive]pub struct ImportRowError {
pub row_number: i32,
pub vm_name: String,
pub vm_uuid: String,
pub errors: Vec<ImportError>,
/* private fields */
}Expand description
A resource that reports the import job errors at row level.
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.row_number: i32👎Deprecated
The row number where the error was detected.
vm_name: StringThe name of the VM in the row.
vm_uuid: StringThe VM UUID.
errors: Vec<ImportError>The list of errors detected in the row.
Implementations§
Source§impl ImportRowError
impl ImportRowError
pub fn new() -> Self
Sourcepub fn set_row_number<T: Into<i32>>(self, v: T) -> Self
👎Deprecated
pub fn set_row_number<T: Into<i32>>(self, v: T) -> Self
Sourcepub fn set_vm_name<T: Into<String>>(self, v: T) -> Self
pub fn set_vm_name<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_vm_uuid<T: Into<String>>(self, v: T) -> Self
pub fn set_vm_uuid<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_errors<T, V>(self, v: T) -> Self
pub fn set_errors<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ImportRowError
impl Clone for ImportRowError
Source§fn clone(&self) -> ImportRowError
fn clone(&self) -> ImportRowError
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 ImportRowError
impl Debug for ImportRowError
Source§impl Default for ImportRowError
impl Default for ImportRowError
Source§fn default() -> ImportRowError
fn default() -> ImportRowError
Returns the “default value” for a type. Read more
Source§impl Message for ImportRowError
impl Message for ImportRowError
Source§impl PartialEq for ImportRowError
impl PartialEq for ImportRowError
impl StructuralPartialEq for ImportRowError
Auto Trait Implementations§
impl Freeze for ImportRowError
impl RefUnwindSafe for ImportRowError
impl Send for ImportRowError
impl Sync for ImportRowError
impl Unpin for ImportRowError
impl UnsafeUnpin for ImportRowError
impl UnwindSafe for ImportRowError
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