pub struct FunctionView {Show 16 fields
pub avg_duration_ms: Option<f64>,
pub created_at: Option<String>,
pub endpoint: Option<String>,
pub env_count: Option<i32>,
pub environment: Option<String>,
pub errors7d: Option<i32>,
pub image: Option<String>,
pub invocations7d: Option<i32>,
pub last_deployed_at: Option<String>,
pub memory_limit: Option<String>,
pub name: Option<String>,
pub namespace: Option<String>,
pub status: Option<String>,
pub success_rate: Option<f64>,
pub target: Option<String>,
pub timeout_sec: Option<i32>,
}Fields§
§avg_duration_ms: Option<f64>mean wall-clock of those runs
created_at: Option<String>when it was first published
endpoint: Option<String>the path that invokes it
env_count: Option<i32>how many secret NAMES it mounts; values are never carried
environment: Option<String>the language it runs under
errors7d: Option<i32>how many of those runs failed
image: Option<String>the prebuilt image it runs, when it runs one instead of source
invocations7d: Option<i32>runs in the last 7 days; ABSENT, never 0, when it has not run
last_deployed_at: Option<String>when its code last changed
memory_limit: Option<String>the memory it runs with, and the multiplier on its compute charge
name: Option<String>the function’s org-unique handle
namespace: Option<String>the display group it belongs to; the org is the isolation key
status: Option<String>whether it is ready to serve
success_rate: Option<f64>share of those runs that succeeded, 0..1
target: Option<String>where it runs: empty for the sandbox, "fleet" for the org’s GPU fleet
timeout_sec: Option<i32>its per-invocation deadline
Implementations§
Source§impl FunctionView
impl FunctionView
pub fn new() -> FunctionView
Trait Implementations§
Source§impl Clone for FunctionView
impl Clone for FunctionView
Source§fn clone(&self) -> FunctionView
fn clone(&self) -> FunctionView
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 FunctionView
impl Debug for FunctionView
Source§impl Default for FunctionView
impl Default for FunctionView
Source§fn default() -> FunctionView
fn default() -> FunctionView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FunctionView
impl<'de> Deserialize<'de> for FunctionView
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 FunctionView
impl PartialEq for FunctionView
Source§impl Serialize for FunctionView
impl Serialize for FunctionView
impl StructuralPartialEq for FunctionView
Auto Trait Implementations§
impl Freeze for FunctionView
impl RefUnwindSafe for FunctionView
impl Send for FunctionView
impl Sync for FunctionView
impl Unpin for FunctionView
impl UnsafeUnpin for FunctionView
impl UnwindSafe for FunctionView
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