pub struct BatchView {
pub run: String,
pub digest: String,
pub groups: Vec<BatchGroup>,
}Expand description
A run whose asking budget is used, with its waiting calls by class.
Fields§
§run: StringThe run.
digest: StringSHA-256 over the sorted digests of every call listed
(PendingCall::digest): a decision names it and is refused when
the list, or the object of a call in it, changed.
groups: Vec<BatchGroup>The calls by class, in the order write, command, network, mcp.
Trait Implementations§
impl Eq for BatchView
Source§impl JsonSchema for BatchView
impl JsonSchema for BatchView
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for BatchView
Auto Trait Implementations§
impl Freeze for BatchView
impl RefUnwindSafe for BatchView
impl Send for BatchView
impl Sync for BatchView
impl Unpin for BatchView
impl UnsafeUnpin for BatchView
impl UnwindSafe for BatchView
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