pub struct FixPassResult {
pub result_status: FixPassResultStatus,
pub status: Option<String>,
pub summary: Option<String>,
pub xml_content: Option<String>,
}Expand description
Result of running a fix pass.
Fields§
§result_status: FixPassResultStatusAggregated fix pass status.
status: Option<String>Parsed fix status from <ralph-status> (when output is valid).
summary: Option<String>Optional summary from <ralph-summary> (when output is valid).
xml_content: Option<String>Raw XML content for UI rendering (if available).
Implementations§
Source§impl FixPassResult
impl FixPassResult
pub const fn agent_failed(auth_failure: bool) -> Self
pub const fn validated( changes_made: bool, status: String, summary: Option<String>, xml_content: String, ) -> Self
pub const fn output_invalid(xml_content: Option<String>) -> Self
pub const fn has_auth_failure(&self) -> bool
pub const fn is_agent_failed(&self) -> bool
pub const fn is_output_valid(&self) -> bool
pub const fn has_changes(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FixPassResult
impl RefUnwindSafe for FixPassResult
impl Send for FixPassResult
impl Sync for FixPassResult
impl Unpin for FixPassResult
impl UnsafeUnpin for FixPassResult
impl UnwindSafe for FixPassResult
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> 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