pub struct Adjustment {
pub field: String,
pub requested: Value,
pub effective: Value,
pub reason: String,
}Expand description
A requested policy value that was narrowed by an effective ceiling.
Fields§
§field: StringLogical policy field that changed.
requested: ValueValue requested by the profile or harness.
effective: ValueEffective narrowed value.
reason: StringHuman-readable explanation of the narrowing.
Trait Implementations§
Source§impl Clone for Adjustment
impl Clone for Adjustment
Source§fn clone(&self) -> Adjustment
fn clone(&self) -> Adjustment
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 Adjustment
impl Debug for Adjustment
Source§impl<'de> Deserialize<'de> for Adjustment
impl<'de> Deserialize<'de> for Adjustment
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 PartialEq for Adjustment
impl PartialEq for Adjustment
Source§impl Serialize for Adjustment
impl Serialize for Adjustment
impl StructuralPartialEq for Adjustment
Auto Trait Implementations§
impl Freeze for Adjustment
impl RefUnwindSafe for Adjustment
impl Send for Adjustment
impl Sync for Adjustment
impl Unpin for Adjustment
impl UnsafeUnpin for Adjustment
impl UnwindSafe for Adjustment
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