pub struct ConfigurationWarning {
pub timestamp: DateTime<Utc>,
pub warning_type: WarningType,
pub message: String,
pub details: HashMap<String, String>,
}
Expand description
本地投递配置警告
记录本地投递组件的配置问题和警告信息
Fields§
§timestamp: DateTime<Utc>
警告发生时间戳(UTC时间)
warning_type: WarningType
警告类型分类 按照问题的性质进行分类,如NIS域、别名、权限等
message: String
警告消息内容 具体的警告描述信息
details: HashMap<String, String>
附加详细信息 包含与警告相关的额外上下文信息
Trait Implementations§
Source§impl Clone for ConfigurationWarning
impl Clone for ConfigurationWarning
Source§fn clone(&self) -> ConfigurationWarning
fn clone(&self) -> ConfigurationWarning
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 ConfigurationWarning
impl Debug for ConfigurationWarning
Source§impl<'de> Deserialize<'de> for ConfigurationWarning
impl<'de> Deserialize<'de> for ConfigurationWarning
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
Auto Trait Implementations§
impl Freeze for ConfigurationWarning
impl RefUnwindSafe for ConfigurationWarning
impl Send for ConfigurationWarning
impl Sync for ConfigurationWarning
impl Unpin for ConfigurationWarning
impl UnwindSafe for ConfigurationWarning
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more