#[non_exhaustive]pub struct ConfigReviewReply {
pub fields: Vec<FieldChange>,
pub refusals: Vec<ConfigReviewRefusal>,
/* private fields */
}Expand description
Normalized old/new values, sources and apply kinds for every field, including unchanged values whose source changed. Any refusal prevents approval; the daemon validates this reply against the schema and supplied immutable base.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fields: Vec<FieldChange>§refusals: Vec<ConfigReviewRefusal>Implementations§
Source§impl ConfigReviewReply
impl ConfigReviewReply
pub fn new(fields: Vec<FieldChange>, refusals: Vec<ConfigReviewRefusal>) -> Self
Trait Implementations§
Source§impl Clone for ConfigReviewReply
impl Clone for ConfigReviewReply
Source§impl Debug for ConfigReviewReply
impl Debug for ConfigReviewReply
Source§impl<'de> Deserialize<'de> for ConfigReviewReply
impl<'de> Deserialize<'de> for ConfigReviewReply
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 ConfigReviewReply
impl PartialEq for ConfigReviewReply
Source§impl Serialize for ConfigReviewReply
impl Serialize for ConfigReviewReply
impl StructuralPartialEq for ConfigReviewReply
Auto Trait Implementations§
impl Forget for ConfigReviewReply
impl Freeze for ConfigReviewReply
impl Move for ConfigReviewReply
impl RefUnwindSafe for ConfigReviewReply
impl Send for ConfigReviewReply
impl Sync for ConfigReviewReply
impl Unpin for ConfigReviewReply
impl UnsafeUnpin for ConfigReviewReply
impl UnwindSafe for ConfigReviewReply
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