pub struct PreviewEnvelope {
pub summary: String,
pub risk_level: RiskLevel,
pub current_state: Value,
pub proposed_change: Value,
pub expected_side_effects: Vec<String>,
pub reboot_required: bool,
pub rollback_available: bool,
pub warnings: Vec<String>,
pub request_hash: RequestHash,
}Fields§
§summary: String§risk_level: RiskLevel§current_state: Value§proposed_change: Value§expected_side_effects: Vec<String>§reboot_required: bool§rollback_available: bool§warnings: Vec<String>§request_hash: RequestHashTrait Implementations§
Source§impl Clone for PreviewEnvelope
impl Clone for PreviewEnvelope
Source§impl Debug for PreviewEnvelope
impl Debug for PreviewEnvelope
Source§impl<'de> Deserialize<'de> for PreviewEnvelope
impl<'de> Deserialize<'de> for PreviewEnvelope
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 From<PreviewEnvelope> for PreviewEnvelope
impl From<PreviewEnvelope> for PreviewEnvelope
Source§fn from(value: PreviewEnvelope) -> Self
fn from(value: PreviewEnvelope) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PreviewEnvelope
impl PartialEq for PreviewEnvelope
Source§impl Serialize for PreviewEnvelope
impl Serialize for PreviewEnvelope
impl StructuralPartialEq for PreviewEnvelope
Source§impl TryFrom<PreviewEnvelope> for PreviewEnvelope
impl TryFrom<PreviewEnvelope> for PreviewEnvelope
Source§type Error = BridgeError
type Error = BridgeError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PreviewEnvelope
impl RefUnwindSafe for PreviewEnvelope
impl Send for PreviewEnvelope
impl Sync for PreviewEnvelope
impl Unpin for PreviewEnvelope
impl UnsafeUnpin for PreviewEnvelope
impl UnwindSafe for PreviewEnvelope
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