pub struct WaiverBundle {
pub digest: Digest,
pub repository: RepositoryIdentity,
pub ref_name: BranchRef,
pub organization_floor_digest: Digest,
pub created_at: UtcInstant,
pub items: Vec<WaiverItem>,
}Fields§
§digest: Digest§repository: RepositoryIdentity§ref_name: BranchRef§organization_floor_digest: Digest§created_at: UtcInstant§items: Vec<WaiverItem>Implementations§
Source§impl WaiverBundle
impl WaiverBundle
Sourcepub fn parse(bytes: &[u8]) -> Result<Self, Error>
pub fn parse(bytes: &[u8]) -> Result<Self, Error>
§Errors
Fails on strict-JSON defects, schema-shape violations, embedded key or
fact digests that do not recompute, kind or preimage inconsistencies,
causal time-order violations, duplicate waiver IDs, and duplicate
(candidate_tree, finding_key) pairs.
Trait Implementations§
Source§impl Clone for WaiverBundle
impl Clone for WaiverBundle
Source§fn clone(&self) -> WaiverBundle
fn clone(&self) -> WaiverBundle
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 WaiverBundle
impl Debug for WaiverBundle
impl Eq for WaiverBundle
Source§impl PartialEq for WaiverBundle
impl PartialEq for WaiverBundle
impl StructuralPartialEq for WaiverBundle
Auto Trait Implementations§
impl Freeze for WaiverBundle
impl RefUnwindSafe for WaiverBundle
impl Send for WaiverBundle
impl Sync for WaiverBundle
impl Unpin for WaiverBundle
impl UnsafeUnpin for WaiverBundle
impl UnwindSafe for WaiverBundle
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