pub struct IrRedaction {
pub source: String,
pub keep: Vec<String>,
pub binding: String,
pub source_schema: Option<String>,
}Expand description
A redact <source> keep [..] as <binding> projection, surfaced for the
information-flow value-flow engine (DR-0027). source is the binding being
projected, keep the kept field names, binding the projected output.
Fields§
§source: String§keep: Vec<String>§binding: String§source_schema: Option<String>The schema of the source binding, when resolvable (a matched class, a
coerce/decide/exec result, an after … as alias, or an earlier redaction’s
output). The information-flow engine derives the projection’s confidentiality
from the kept fields of this schema (<schema>.<field> labels), so a redacted
egress needs only the kept fields’ clearance, not the whole record’s. None
when the source type is not statically known (the engine then stays
conservative for that redaction).
Trait Implementations§
Source§impl Clone for IrRedaction
impl Clone for IrRedaction
Source§fn clone(&self) -> IrRedaction
fn clone(&self) -> IrRedaction
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 IrRedaction
impl Debug for IrRedaction
impl Eq for IrRedaction
Source§impl PartialEq for IrRedaction
impl PartialEq for IrRedaction
impl StructuralPartialEq for IrRedaction
Auto Trait Implementations§
impl Freeze for IrRedaction
impl RefUnwindSafe for IrRedaction
impl Send for IrRedaction
impl Sync for IrRedaction
impl Unpin for IrRedaction
impl UnsafeUnpin for IrRedaction
impl UnwindSafe for IrRedaction
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