#[non_exhaustive]pub struct MigrationJobVerificationError {
pub error_code: ErrorCode,
pub error_message: String,
pub error_detail_message: String,
/* private fields */
}Expand description
Error message of a verification Migration job.
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.error_code: ErrorCodeOutput only. An instance of ErrorCode specifying the error that occurred.
error_message: StringOutput only. A formatted message with further details about the error and a CTA.
error_detail_message: StringOutput only. A specific detailed error message, if supplied by the engine.
Implementations§
Source§impl MigrationJobVerificationError
impl MigrationJobVerificationError
pub fn new() -> Self
Sourcepub fn set_error_code<T: Into<ErrorCode>>(self, v: T) -> Self
pub fn set_error_code<T: Into<ErrorCode>>(self, v: T) -> Self
Sets the value of error_code.
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.
Sourcepub fn set_error_detail_message<T: Into<String>>(self, v: T) -> Self
pub fn set_error_detail_message<T: Into<String>>(self, v: T) -> Self
Sets the value of error_detail_message.
Trait Implementations§
Source§impl Clone for MigrationJobVerificationError
impl Clone for MigrationJobVerificationError
Source§fn clone(&self) -> MigrationJobVerificationError
fn clone(&self) -> MigrationJobVerificationError
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 Default for MigrationJobVerificationError
impl Default for MigrationJobVerificationError
Source§fn default() -> MigrationJobVerificationError
fn default() -> MigrationJobVerificationError
Returns the “default value” for a type. Read more
Source§impl PartialEq for MigrationJobVerificationError
impl PartialEq for MigrationJobVerificationError
Source§fn eq(&self, other: &MigrationJobVerificationError) -> bool
fn eq(&self, other: &MigrationJobVerificationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MigrationJobVerificationError
Auto Trait Implementations§
impl Freeze for MigrationJobVerificationError
impl RefUnwindSafe for MigrationJobVerificationError
impl Send for MigrationJobVerificationError
impl Sync for MigrationJobVerificationError
impl Unpin for MigrationJobVerificationError
impl UnwindSafe for MigrationJobVerificationError
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