pub struct AdmitInput {
pub role: String,
pub synthetic: bool,
pub content_preview: String,
pub content_bytes: u64,
pub content_sha256: String,
pub content_truncated: bool,
pub inline_view: bool,
}Expand description
The shaped input an admission would carry (§3.2.1 input).
Fields§
§role: String§synthetic: boolTrue for steer-injected content (strippable, EVENT-MODEL A6).
content_preview: StringRedacted, possibly truncated head of the content, ≤4096 bytes.
content_bytes: u64Exact serialized content length.
content_sha256: StringDigest of the unredacted serialized content (correlation only).
content_truncated: boolTrue when the preview is shorter than the content.
inline_view: boolTrue when the row will carry only an Inline view (over-cap spill).
Trait Implementations§
Source§impl Clone for AdmitInput
impl Clone for AdmitInput
Source§impl Debug for AdmitInput
impl Debug for AdmitInput
Auto Trait Implementations§
impl Forget for AdmitInput
impl Freeze for AdmitInput
impl Move for AdmitInput
impl RefUnwindSafe for AdmitInput
impl Send for AdmitInput
impl Sync for AdmitInput
impl Unpin for AdmitInput
impl UnsafeUnpin for AdmitInput
impl UnwindSafe for AdmitInput
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