pub enum AuditResult {
Success,
Error,
Unauthorized,
Partial,
Unknown(Unknown),
}Variants§
Success
Error
Partial
A result that has not yet been finalized. It may be missing fields from resultParams, and it is expected that a non-partial log should occur in the future with the same event ID.
Unknown(Unknown)
An unknown variant.
Implementations§
Trait Implementations§
Source§impl Clone for AuditResult
impl Clone for AuditResult
Source§fn clone(&self) -> AuditResult
fn clone(&self) -> AuditResult
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 AuditResult
impl Debug for AuditResult
Source§impl<'de> Deserialize<'de> for AuditResult
impl<'de> Deserialize<'de> for AuditResult
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 Display for AuditResult
impl Display for AuditResult
Source§impl FromPlain for AuditResult
impl FromPlain for AuditResult
Source§type Err = ParseEnumError
type Err = ParseEnumError
The error type returned when parsing fails.
Source§fn from_plain(v: &str) -> Result<AuditResult, ParseEnumError>
fn from_plain(v: &str) -> Result<AuditResult, ParseEnumError>
Parse a value from its Conjure PLAIN string representation.
Source§impl FromStr for AuditResult
impl FromStr for AuditResult
Source§type Err = ParseEnumError
type Err = ParseEnumError
The associated error which can be returned from parsing.
Source§fn from_str(v: &str) -> Result<AuditResult, ParseEnumError>
fn from_str(v: &str) -> Result<AuditResult, ParseEnumError>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AuditResult
impl Hash for AuditResult
Source§impl Ord for AuditResult
impl Ord for AuditResult
Source§fn cmp(&self, other: &AuditResult) -> Ordering
fn cmp(&self, other: &AuditResult) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuditResult
impl PartialEq for AuditResult
Source§impl PartialOrd for AuditResult
impl PartialOrd for AuditResult
Source§impl Plain for AuditResult
impl Plain for AuditResult
Source§impl Serialize for AuditResult
impl Serialize for AuditResult
impl Eq for AuditResult
impl StructuralPartialEq for AuditResult
Auto Trait Implementations§
impl Freeze for AuditResult
impl RefUnwindSafe for AuditResult
impl Send for AuditResult
impl Sync for AuditResult
impl Unpin for AuditResult
impl UnwindSafe for AuditResult
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