pub struct FromResponse {
pub lists: Vec<PublishedList>,
pub manifests: Vec<Manifest>,
pub untrusted: usize,
pub publisher_manifests: Vec<Manifest>,
}Expand description
What one publisher response yielded.
Fields§
§lists: Vec<PublishedList>Lists whose signature matched one of the trusted publishers.
manifests: Vec<Manifest>Validator manifests from these lists.
untrusted: usizeNumber of lists signed by an untrusted publisher. This is not corruption, just someone else’s policy: such lists simply don’t count toward quorum.
publisher_manifests: Vec<Manifest>Trusted publisher manifests from the response (the shared one and those of
blobs_v2 elements), with verified signatures, revocations included.
Trait Implementations§
Source§impl Debug for FromResponse
impl Debug for FromResponse
Source§impl Default for FromResponse
impl Default for FromResponse
Source§fn default() -> FromResponse
fn default() -> FromResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FromResponse
impl RefUnwindSafe for FromResponse
impl Send for FromResponse
impl Sync for FromResponse
impl Unpin for FromResponse
impl UnsafeUnpin for FromResponse
impl UnwindSafe for FromResponse
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