pub struct InvocationView {
pub duration_ms: Option<i32>,
pub id: Option<String>,
pub method: Option<String>,
pub status: Option<String>,
pub status_code: Option<i32>,
pub time: Option<String>,
}Fields§
§duration_ms: Option<i32>how long it took
id: Option<String>the invocation’s handle
method: Option<String>the HTTP method that triggered it
status: Option<String>how the run ended: ok, error or timeout
status_code: Option<i32>Code is the status the function’s OWN code answered with, which is not the status of the reply — a program can answer 500 through a healthy sandbox.
time: Option<String>when it ran, RFC3339
Implementations§
Source§impl InvocationView
impl InvocationView
pub fn new() -> InvocationView
Trait Implementations§
Source§impl Clone for InvocationView
impl Clone for InvocationView
Source§fn clone(&self) -> InvocationView
fn clone(&self) -> InvocationView
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 InvocationView
impl Debug for InvocationView
Source§impl Default for InvocationView
impl Default for InvocationView
Source§fn default() -> InvocationView
fn default() -> InvocationView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvocationView
impl<'de> Deserialize<'de> for InvocationView
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 PartialEq for InvocationView
impl PartialEq for InvocationView
Source§impl Serialize for InvocationView
impl Serialize for InvocationView
impl StructuralPartialEq for InvocationView
Auto Trait Implementations§
impl Freeze for InvocationView
impl RefUnwindSafe for InvocationView
impl Send for InvocationView
impl Sync for InvocationView
impl Unpin for InvocationView
impl UnsafeUnpin for InvocationView
impl UnwindSafe for InvocationView
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