pub struct InspectionLimits {
pub max_receipt_bytes: usize,
pub max_protected_bytes: usize,
pub max_signature_bytes: usize,
pub max_cbor_nesting: usize,
pub max_cbor_items: usize,
pub max_map_entries: usize,
pub max_proofs_per_receipt: usize,
pub max_path_nodes_per_proof: usize,
pub max_certificate_chain_length: usize,
pub max_certificate_bytes: usize,
pub max_claim_text_characters: usize,
pub max_tree_size: u64,
}Expand description
Finite local resource ceilings, not universal RFC limits. Only Phase 1 budgets live here: attachment/statement/key-attempt limits belong to later APIs.
Fields§
§max_receipt_bytes: usize§max_protected_bytes: usize§max_signature_bytes: usize§max_cbor_nesting: usize§max_cbor_items: usize§max_map_entries: usize§max_proofs_per_receipt: usize§max_path_nodes_per_proof: usize§max_certificate_chain_length: usize§max_certificate_bytes: usize§max_claim_text_characters: usize§max_tree_size: u64Trait Implementations§
Source§impl Clone for InspectionLimits
impl Clone for InspectionLimits
Source§impl Debug for InspectionLimits
impl Debug for InspectionLimits
Source§impl Default for InspectionLimits
impl Default for InspectionLimits
impl Eq for InspectionLimits
Source§impl PartialEq for InspectionLimits
impl PartialEq for InspectionLimits
Source§impl Serialize for InspectionLimits
impl Serialize for InspectionLimits
impl StructuralPartialEq for InspectionLimits
Auto Trait Implementations§
impl Freeze for InspectionLimits
impl RefUnwindSafe for InspectionLimits
impl Send for InspectionLimits
impl Sync for InspectionLimits
impl Unpin for InspectionLimits
impl UnsafeUnpin for InspectionLimits
impl UnwindSafe for InspectionLimits
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