#[non_exhaustive]pub struct Rendering {
pub withheld: Option<Withheld>,
pub summary: String,
pub proposed_action: Value,
pub cost: Option<String>,
pub evidence: Vec<String>,
pub reach: Option<Value>,
pub escaped: bool,
pub mixed_script: Vec<MixedScript>,
}Expand description
What every surface shows a person for one task: the one rendering.
A pure function of the stored task, so what a reviewer reads and what
Justification::digest binds are read from the same value. Every string
has its hidden code points escaped in place (see escaped);
every word mixing scripts is listed in mixed_script
and left as written. Nothing is cut: a value is shown whole.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.withheld: Option<Withheld>Why the proposal cannot be shown, when it cannot — and then
proposed_action is null and evidence empty rather than an envelope
a client might display as a value.
summary: String§proposed_action: Value§cost: Option<String>§evidence: Vec<String>§reach: Option<Value>What the agent a consultation would hand work to may do, when the task proposes one. Shown even when the proposal is withheld: it is the plane’s own declaration, not the caller’s data.
escaped: boolWhether any text above had a code point escaped because it renders as nothing or reorders what surrounds it.
mixed_script: Vec<MixedScript>Words that mix alphabets, where they occur.
Trait Implementations§
Source§impl JsonSchema for Rendering
impl JsonSchema for Rendering
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for Rendering
Auto Trait Implementations§
impl Freeze for Rendering
impl RefUnwindSafe for Rendering
impl Send for Rendering
impl Sync for Rendering
impl Unpin for Rendering
impl UnsafeUnpin for Rendering
impl UnwindSafe for Rendering
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more