pub struct DecidedCall {Show 14 fields
pub task: String,
pub decision: String,
pub covers: String,
pub reason: Option<String>,
pub by: Option<String>,
pub scope: Option<String>,
pub note: Option<String>,
pub call: Option<String>,
pub operator: Option<OperatorView>,
pub via: Option<String>,
pub client: Option<String>,
pub expired: bool,
pub object: Option<ObjectView>,
pub run: Option<String>,
}Expand description
A person’s decision.
Fields§
§task: StringTask ID.
decision: Stringapproved or rejected.
covers: StringWhat it covers.
reason: Option<String>The reason, for a rejection.
by: Option<String>Who decided, as name (via).
scope: Option<String>How far an approval reaches: once, task or run.
note: Option<String>An approval’s note to the model.
call: Option<String>The waiting call it decided, when it was one.
operator: Option<OperatorView>Who decided; None for an expiry.
via: Option<String>Through what: an origin of actions::Via (terminal, web,
acp, …).
client: Option<String>The editor decided in, over the Agent Client Protocol.
expired: boolNobody decided: the deadline passed and the call was denied.
object: Option<ObjectView>The object it decided on.
run: Option<String>The run it belongs to (a grant covers nothing after it).
Trait Implementations§
Source§impl Clone for DecidedCall
impl Clone for DecidedCall
Source§impl Debug for DecidedCall
impl Debug for DecidedCall
Source§impl Default for DecidedCall
impl Default for DecidedCall
impl Eq for DecidedCall
Source§impl JsonSchema for DecidedCall
impl JsonSchema for DecidedCall
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 moreSource§impl PartialEq for DecidedCall
impl PartialEq for DecidedCall
Source§impl Serialize for DecidedCall
impl Serialize for DecidedCall
impl StructuralPartialEq for DecidedCall
Auto Trait Implementations§
impl Freeze for DecidedCall
impl RefUnwindSafe for DecidedCall
impl Send for DecidedCall
impl Sync for DecidedCall
impl Unpin for DecidedCall
impl UnsafeUnpin for DecidedCall
impl UnwindSafe for DecidedCall
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