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§
source§impl Debug for PolicyInfo
impl Debug for PolicyInfo
source§impl<'de> Deserialize<'de> for PolicyInfo
impl<'de> Deserialize<'de> for PolicyInfo
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 PolicyInfo
impl PartialEq for PolicyInfo
source§fn eq(&self, other: &PolicyInfo) -> bool
fn eq(&self, other: &PolicyInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq 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§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.