Struct Component Registration
Generated from cargo doc --no-deps -p nemo-relay -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 ComponentRegistration<'a> {
pub key: &'a str,
pub builtin_codes: &'a [BuiltinDiagnosticCode],
pub ownership: ComponentOwnership,
pub window: Option<WindowSettings>,
}
Expected codes and attribution are admitted together with the summary.
Fields
key: &'a str
Stable logical responsibility, excluding request and session identifiers.
builtin_codes: &'a [BuiltinDiagnosticCode]
Complete built-in vocabulary whose counters are reserved at admission.
ownership: ComponentOwnership
Initial configuration attribution, bounded on admission.
window: Option<WindowSettings>
Optional fixed-resolution outcome series admitted with the component.
Implementations
impl<'a> ComponentRegistration<'a>
impl<'a> ComponentRegistration<'a>
new
pub fn new(key: &'a str, builtin_codes: &'a [BuiltinDiagnosticCode]) -> Self
Declare a vocabulary with empty attribution and no outcome window.
Trait Implementations
impl<'a> Clone for ComponentRegistration<'a>
impl<'a> Clone for ComponentRegistration<'a>
clone
fn clone(&self) -> ComponentRegistration<'a>
clone_from
fn clone_from(&mut self, source: &Self)
impl<'a> Debug for ComponentRegistration<'a>
impl<'a> Debug for ComponentRegistration<'a>
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result