pub struct PolicyInfo {
pub age: Option<AgeInfo>,
pub builtonbuildd: Option<BuiltOnBuildd>,
pub autopkgtest: Option<UnspecfiedPolicyInfo>,
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
autopkgtest: Option<UnspecfiedPolicyInfo>
The autopkgtest porlicy
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
impl Eq for PolicyInfo
impl StructuralPartialEq for PolicyInfo
Auto Trait Implementations§
impl Freeze for PolicyInfo
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.