Struct HistoryReport
pub struct HistoryReport {
pub ok: bool,
pub versions: Vec<String>,
pub errors: Vec<ErrorReport>,
}Expand description
The result of verifyHistory. When ok is false, only errors is meaningful.
Fields§
§ok: boolThe history file matches the verified catalog’s hash and format.
versions: Vec<String>Its releases’ versions, highest first.
errors: Vec<ErrorReport>Why it was refused.
Trait Implementations§
§impl Clone for HistoryReport
impl Clone for HistoryReport
§fn clone(&self) -> HistoryReport
fn clone(&self) -> HistoryReport
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 more§impl Debug for HistoryReport
impl Debug for HistoryReport
impl Eq for HistoryReport
§impl PartialEq for HistoryReport
impl PartialEq for HistoryReport
§impl Serialize for HistoryReport
impl Serialize for HistoryReport
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for HistoryReport
Auto Trait Implementations§
impl Freeze for HistoryReport
impl RefUnwindSafe for HistoryReport
impl Send for HistoryReport
impl Sync for HistoryReport
impl Unpin for HistoryReport
impl UnsafeUnpin for HistoryReport
impl UnwindSafe for HistoryReport
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CryptoSafe for T
impl<T> CryptoSafe for T
§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
Checks if this value is equivalent to the given key. Read more