#[non_exhaustive]pub struct OldNames {
pub ask_list: bool,
pub ask_default: bool,
}Expand description
Where a policy still uses ask, the old name of review.
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.ask_list: boolThe rule list is ask: rather than review:.
ask_default: booldefaults names the verdict ask.
Implementations§
Trait Implementations§
impl Copy for OldNames
impl Eq for OldNames
impl StructuralPartialEq for OldNames
Auto Trait Implementations§
impl Freeze for OldNames
impl RefUnwindSafe for OldNames
impl Send for OldNames
impl Sync for OldNames
impl Unpin for OldNames
impl UnsafeUnpin for OldNames
impl UnwindSafe for OldNames
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