pub struct Requirements {
pub owner_required: bool,
pub reason_required: bool,
pub classification_required: bool,
pub evidence_required: bool,
pub expires_or_review_after_required: bool,
pub allow_bare_allow_attributes: bool,
pub lint_policy_id_required: bool,
pub stale_entries_fail: bool,
pub unsafe_evidence_required: bool,
pub unsafe_safety_comment_required: bool,
}Fields§
§owner_required: bool§reason_required: bool§classification_required: bool§evidence_required: bool§expires_or_review_after_required: bool§allow_bare_allow_attributes: bool§lint_policy_id_required: bool§stale_entries_fail: bool§unsafe_evidence_required: bool§unsafe_safety_comment_required: boolTrait Implementations§
Source§impl Clone for Requirements
impl Clone for Requirements
Source§fn clone(&self) -> Requirements
fn clone(&self) -> Requirements
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 Requirements
impl Debug for Requirements
Source§impl Default for Requirements
impl Default for Requirements
impl Eq for Requirements
Source§impl PartialEq for Requirements
impl PartialEq for Requirements
Source§fn eq(&self, other: &Requirements) -> bool
fn eq(&self, other: &Requirements) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Requirements
Auto Trait Implementations§
impl Freeze for Requirements
impl RefUnwindSafe for Requirements
impl Send for Requirements
impl Sync for Requirements
impl Unpin for Requirements
impl UnsafeUnpin for Requirements
impl UnwindSafe for Requirements
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