Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct AnnotationRefresh(/* private fields */);

One-way request to derive the published annotation from the sanitized body. Cloned sanitizer contexts for one publication share the same decision.

Implementations

impl AnnotationRefresh

impl AnnotationRefresh

require

pub fn require(&self)

Discard the supplied annotation even if the selected body is already clean.

is_required

pub fn is_required(&self) -> bool

Whether a sanitizer requires decoding the accepted body again.

Trait Implementations

impl Clone for AnnotationRefresh

impl Clone for AnnotationRefresh

clone

fn clone(&self) -> AnnotationRefresh

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AnnotationRefresh

impl Debug for AnnotationRefresh

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

impl Default for AnnotationRefresh

impl Default for AnnotationRefresh

default

fn default() -> AnnotationRefresh