Struct assorted_debian_utils::excuses::PolicyInfo
source · [−]pub struct PolicyInfo {
pub age: Option<AgeInfo>,
pub builtonbuildd: Option<BuiltOnBuildd>,
pub extras: HashMap<String, UnspecfiedPolicyInfo>,
}
Expand description
Collected policy infos
Fields
age: Option<AgeInfo>
The age policy
builtonbuildd: Option<BuiltOnBuildd>
The buildt-on-buildd policy
extras: HashMap<String, UnspecfiedPolicyInfo>
All remaining policies
Trait Implementations
sourceimpl Debug for PolicyInfo
impl Debug for PolicyInfo
sourceimpl<'de> Deserialize<'de> for PolicyInfo
impl<'de> Deserialize<'de> for PolicyInfo
sourcefn 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
sourceimpl PartialEq<PolicyInfo> for PolicyInfo
impl PartialEq<PolicyInfo> for PolicyInfo
sourcefn eq(&self, other: &PolicyInfo) -> bool
fn eq(&self, other: &PolicyInfo) -> bool
impl Eq for PolicyInfo
impl StructuralEq for PolicyInfo
impl StructuralPartialEq for PolicyInfo
Auto Trait Implementations
impl RefUnwindSafe for PolicyInfo
impl Send for PolicyInfo
impl Sync for PolicyInfo
impl Unpin for PolicyInfo
impl UnwindSafe for PolicyInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.