pub struct BaseActionResult {
pub authorized_by_display_name: Option<String>,
pub authorized_by_id: Option<String>,
pub executed_at: f64,
pub status_code: f64,
}Expand description
Common fields for intent action execution results.
JSON schema
{
"title": "BaseActionResult",
"description": "Common fields for intent action execution results.",
"type": "object",
"required": [
"executed_at",
"status_code"
],
"properties": {
"authorized_by_display_name": {
"description": "Display name of the key quorum that authorized
execution",
"type": "string"
},
"authorized_by_id": {
"description": "ID of the key quorum that authorized execution",
"type": "string"
},
"executed_at": {
"description": "Unix timestamp when the action was executed",
"type": "number"
},
"status_code": {
"description": "HTTP status code from the action execution",
"type": "number"
}
},
"x-stainless-model": "intents.base_action_result"
}Fields§
Display name of the key quorum that authorized execution
ID of the key quorum that authorized execution
executed_at: f64§status_code: f64Trait Implementations§
Source§impl Clone for BaseActionResult
impl Clone for BaseActionResult
Source§fn clone(&self) -> BaseActionResult
fn clone(&self) -> BaseActionResult
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 BaseActionResult
impl Debug for BaseActionResult
Source§impl<'de> Deserialize<'de> for BaseActionResult
impl<'de> Deserialize<'de> for BaseActionResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&BaseActionResult> for BaseActionResult
impl From<&BaseActionResult> for BaseActionResult
Source§fn from(value: &BaseActionResult) -> Self
fn from(value: &BaseActionResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BaseActionResult
impl RefUnwindSafe for BaseActionResult
impl Send for BaseActionResult
impl Sync for BaseActionResult
impl Unpin for BaseActionResult
impl UnsafeUnpin for BaseActionResult
impl UnwindSafe for BaseActionResult
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