pub struct OrganizationFloor {
pub digest: Digest,
pub floor_id: ArtifactId,
pub repository: RepositoryIdentity,
pub ref_name: BranchRef,
pub minimum_profile: Profile,
pub minimum_dispositions: Vec<FindingDisposition>,
pub protected_inventory: Vec<RepoPathText>,
pub protected_control_paths: Vec<RepoPathText>,
pub waivable_finding_kinds: Vec<EligibleFindingKind>,
pub authorized_debt_owners: Vec<OwnerId>,
pub authorized_waiver_issuers: Vec<OwnerId>,
pub resource_limits: Vec<ResourceLimit>,
}Fields§
§digest: Digest§floor_id: ArtifactId§repository: RepositoryIdentity§ref_name: BranchRef§minimum_profile: Profile§minimum_dispositions: Vec<FindingDisposition>§protected_inventory: Vec<RepoPathText>§protected_control_paths: Vec<RepoPathText>§waivable_finding_kinds: Vec<EligibleFindingKind>§resource_limits: Vec<ResourceLimit>Implementations§
Source§impl OrganizationFloor
impl OrganizationFloor
Sourcepub fn parse(bytes: &[u8]) -> Result<Self, FloorDefect>
pub fn parse(bytes: &[u8]) -> Result<Self, FloorDefect>
§Errors
Fails on strict-JSON defects, schema-shape violations, unknown fields,
invalid grammar values, per-resource bound violations, unsorted or
duplicate set members, and a combined entry count over the built-in
organization-policy-entries limit or a tighter self-declared one.
Trait Implementations§
Source§impl Clone for OrganizationFloor
impl Clone for OrganizationFloor
Source§fn clone(&self) -> OrganizationFloor
fn clone(&self) -> OrganizationFloor
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 OrganizationFloor
impl Debug for OrganizationFloor
impl Eq for OrganizationFloor
Source§impl PartialEq for OrganizationFloor
impl PartialEq for OrganizationFloor
impl StructuralPartialEq for OrganizationFloor
Auto Trait Implementations§
impl Freeze for OrganizationFloor
impl RefUnwindSafe for OrganizationFloor
impl Send for OrganizationFloor
impl Sync for OrganizationFloor
impl Unpin for OrganizationFloor
impl UnsafeUnpin for OrganizationFloor
impl UnwindSafe for OrganizationFloor
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