pub struct SanitizationWarning {
pub attribute_name: Option<String>,
pub element_name: Option<String>,
pub reason: Option<String>,
}
Expand description
Returns information about the XML element or attribute that was sanitized in the configuration.
Fields§
§attribute_name: Option<String>
The name of the XML attribute that has been sanitized.
element_name: Option<String>
The name of the XML element that has been sanitized.
reason: Option<String>
Required. The reason for which the XML elements or attributes were sanitized.
Trait Implementations§
Source§impl Clone for SanitizationWarning
impl Clone for SanitizationWarning
Source§fn clone(&self) -> SanitizationWarning
fn clone(&self) -> SanitizationWarning
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 SanitizationWarning
impl Debug for SanitizationWarning
Source§impl Default for SanitizationWarning
impl Default for SanitizationWarning
Source§fn default() -> SanitizationWarning
fn default() -> SanitizationWarning
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SanitizationWarning
impl<'de> Deserialize<'de> for SanitizationWarning
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 PartialEq for SanitizationWarning
impl PartialEq for SanitizationWarning
impl StructuralPartialEq for SanitizationWarning
Auto Trait Implementations§
impl Freeze for SanitizationWarning
impl RefUnwindSafe for SanitizationWarning
impl Send for SanitizationWarning
impl Sync for SanitizationWarning
impl Unpin for SanitizationWarning
impl UnwindSafe for SanitizationWarning
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