pub struct InspectionOptions<'a> {
pub png_name: Option<&'a str>,
pub bundle_metadata: Option<&'a OnnxFrameBundleMetadata>,
pub manifest: Option<ExternalManifest<'a>>,
pub max_chunks: usize,
pub max_hex_bytes: usize,
pub verbose_payload_entries: bool,
}Fields§
§png_name: Option<&'a str>Optional display name for the PNG.
bundle_metadata: Option<&'a OnnxFrameBundleMetadata>Optional EnCodec bundle metadata used only for ECDC packet-layout diagnostics.
manifest: Option<ExternalManifest<'a>>Optional external release-manifest bytes. BRD1 contains only a binary signed-release reference, so the complete manifest must be supplied separately (or loaded from BSC/registry by a caller).
max_chunks: usizeMaximum number of transport chunks printed in detail.
max_hex_bytes: usizeMaximum prefix bytes printed for each binary object.
verbose_payload_entries: boolPrint every payload entry instead of the default first/last compact view.
Implementations§
Source§impl<'a> InspectionOptions<'a>
impl<'a> InspectionOptions<'a>
pub fn verbose_defaults() -> Self
Trait Implementations§
Source§impl<'a> Clone for InspectionOptions<'a>
impl<'a> Clone for InspectionOptions<'a>
Source§fn clone(&self) -> InspectionOptions<'a>
fn clone(&self) -> InspectionOptions<'a>
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<'a> Debug for InspectionOptions<'a>
impl<'a> Debug for InspectionOptions<'a>
Source§impl<'a> Default for InspectionOptions<'a>
impl<'a> Default for InspectionOptions<'a>
Source§fn default() -> InspectionOptions<'a>
fn default() -> InspectionOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for InspectionOptions<'a>
impl<'a> RefUnwindSafe for InspectionOptions<'a>
impl<'a> Send for InspectionOptions<'a>
impl<'a> Sync for InspectionOptions<'a>
impl<'a> Unpin for InspectionOptions<'a>
impl<'a> UnsafeUnpin for InspectionOptions<'a>
impl<'a> UnwindSafe for InspectionOptions<'a>
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