pub struct PrefixHistoryEntry {
pub reason: String,
pub repinned: bool,
pub from_sha256: String,
pub to_sha256: String,
}Expand description
One attributed prefix event: a declared header change (re-pinned) or an undeclared drift (pin kept).
Fields§
§reason: Stringchange:<what> for declared header changes, drift:<component> for
undeclared changes, reset:<what> for history resets.
repinned: boolWhether the pin was replaced by this event.
from_sha256: StringCombined SHA-256 before the event.
to_sha256: StringCombined SHA-256 the request actually carried.
Trait Implementations§
Source§impl Clone for PrefixHistoryEntry
impl Clone for PrefixHistoryEntry
Source§fn clone(&self) -> PrefixHistoryEntry
fn clone(&self) -> PrefixHistoryEntry
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 PrefixHistoryEntry
impl Debug for PrefixHistoryEntry
Source§impl<'de> Deserialize<'de> for PrefixHistoryEntry
impl<'de> Deserialize<'de> for PrefixHistoryEntry
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
impl Eq for PrefixHistoryEntry
Source§impl PartialEq for PrefixHistoryEntry
impl PartialEq for PrefixHistoryEntry
Source§impl Serialize for PrefixHistoryEntry
impl Serialize for PrefixHistoryEntry
impl StructuralPartialEq for PrefixHistoryEntry
Auto Trait Implementations§
impl Freeze for PrefixHistoryEntry
impl RefUnwindSafe for PrefixHistoryEntry
impl Send for PrefixHistoryEntry
impl Sync for PrefixHistoryEntry
impl Unpin for PrefixHistoryEntry
impl UnsafeUnpin for PrefixHistoryEntry
impl UnwindSafe for PrefixHistoryEntry
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.