Struct viaspf::record::ExplainString [−][src]
pub struct ExplainString {
pub segments: Vec<ExplainStringSegment>,
}
Expand description
An explain string.
Examples
use viaspf::record::ExplainString;
let explain_string = "Host %{c} not authorized".parse::<ExplainString>()?;
assert_eq!(explain_string.to_string(), "Host %{c} not authorized");
Fields
segments: Vec<ExplainStringSegment>
The explain string’s parts.
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Creates a value from an iterator. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ExplainString
impl Send for ExplainString
impl Sync for ExplainString
impl Unpin for ExplainString
impl UnwindSafe for ExplainString
Blanket Implementations
Mutably borrows from an owned value. Read more