#[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>, ) -> ConfigReviewReply
Trait Implementations§
Source§impl Clone for ConfigReviewReply
impl Clone for ConfigReviewReply
Source§fn clone(&self) -> ConfigReviewReply
fn clone(&self) -> ConfigReviewReply
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 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<ConfigReviewReply, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfigReviewReply, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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