#[non_exhaustive]pub struct OperationError {
pub key_name: String,
pub error_message: String,
pub timestamp: Option<Timestamp>,
}Expand description
OperationError records errors seen from CloudKMS keys encountered during updates to DatabaseEncryption configuration.
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.key_name: StringCloudKMS key resource that had the error.
error_message: StringDescription of the error seen during the operation.
timestamp: Option<Timestamp>Time when the CloudKMS error was seen.
Implementations§
Source§impl OperationError
impl OperationError
Sourcepub fn set_key_name<T: Into<String>>(self, v: T) -> Self
pub fn set_key_name<T: Into<String>>(self, v: T) -> Self
Sets the value of key_name.
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 OperationError
impl Clone for OperationError
Source§fn clone(&self) -> OperationError
fn clone(&self) -> OperationError
Returns a copy 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 OperationError
impl Debug for OperationError
Source§impl Default for OperationError
impl Default for OperationError
Source§fn default() -> OperationError
fn default() -> OperationError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationErrorwhere
OperationError: Default,
impl<'de> Deserialize<'de> for OperationErrorwhere
OperationError: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for OperationError
impl Message for OperationError
Source§impl PartialEq for OperationError
impl PartialEq for OperationError
Source§impl Serialize for OperationError
impl Serialize for OperationError
impl StructuralPartialEq for OperationError
Auto Trait Implementations§
impl Freeze for OperationError
impl RefUnwindSafe for OperationError
impl Send for OperationError
impl Sync for OperationError
impl Unpin for OperationError
impl UnwindSafe for OperationError
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