pub struct AuditFinding {
pub code: String,
pub rule_set: String,
pub severity: String,
pub location: String,
pub message: String,
}Expand description
One audit finding.
Fields§
§code: StringRule code.
rule_set: Stringa11y, style or structure.
severity: Stringerror, warning or info.
location: StringA paragraph id (p12, header1.p1) or a part name.
message: StringWhat was found, in one sentence.
Trait Implementations§
Source§impl Clone for AuditFinding
impl Clone for AuditFinding
Source§fn clone(&self) -> AuditFinding
fn clone(&self) -> AuditFinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuditFinding
impl Debug for AuditFinding
impl Eq for AuditFinding
Source§impl From<AuditFinding> for Finding
impl From<AuditFinding> for Finding
Source§fn from(f: AuditFinding) -> Finding
fn from(f: AuditFinding) -> Finding
The audit’s finding in the shared shape: its part is the story’s
part for a paragraph id (p3 → word/document.xml), else the
location itself (a part name); it is never Word-fatal or repairable.
Source§impl PartialEq for AuditFinding
impl PartialEq for AuditFinding
Source§impl Serialize for AuditFinding
impl Serialize for AuditFinding
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AuditFinding
Auto Trait Implementations§
impl Forget for AuditFinding
impl Freeze for AuditFinding
impl Move for AuditFinding
impl RefUnwindSafe for AuditFinding
impl Send for AuditFinding
impl Sync for AuditFinding
impl Unpin for AuditFinding
impl UnsafeUnpin for AuditFinding
impl UnwindSafe for AuditFinding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.