pub struct OperatorCommandOutput {
pub status: String,
pub action: OperatorAction,
pub message: String,
pub blockers: Vec<String>,
pub warnings: Vec<String>,
pub next_action: Option<String>,
pub recommended_action: Option<String>,
}Expand description
Operator command output embedded in merge reports.
Fields§
§status: String§action: OperatorAction§message: String§blockers: Vec<String>§warnings: Vec<String>§next_action: Option<String>§recommended_action: Option<String>Implementations§
Source§impl OperatorCommandOutput
impl OperatorCommandOutput
pub fn blocked_by_repository_verification( action: OperatorAction, message: impl Into<String>, trust: &RepositoryVerificationState, ) -> Self
Trait Implementations§
Source§impl Clone for OperatorCommandOutput
impl Clone for OperatorCommandOutput
Source§fn clone(&self) -> OperatorCommandOutput
fn clone(&self) -> OperatorCommandOutput
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 OperatorCommandOutput
impl Debug for OperatorCommandOutput
Source§impl Default for OperatorCommandOutput
impl Default for OperatorCommandOutput
Source§fn default() -> OperatorCommandOutput
fn default() -> OperatorCommandOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OperatorCommandOutput
impl RefUnwindSafe for OperatorCommandOutput
impl Send for OperatorCommandOutput
impl Sync for OperatorCommandOutput
impl Unpin for OperatorCommandOutput
impl UnsafeUnpin for OperatorCommandOutput
impl UnwindSafe for OperatorCommandOutput
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