Struct tencent_scf::Context [−][src]
The context of the invocation, assembled from environment variables and invocation headers.
The concrete description of each field can be found at Custom Runtime API and Built-in Environment Variables.
Fields
memory_limit_in_mb: usize
from header memory_limit_in_mb
time_limit_in_ms: usize
from header time_limit_in_ms
request_id: String
from header request_id
namespace: String
from enviroment variable SCF_NAMESPACE
function_name: String
from enviroment variables SCF_FUNCTIONNAME
function_version: String
from enviroment variable SCF_FUNCTIONVERSION
region: String
from enviroment variable TENCENTCLOUD_REGION
appid: String
from enviroment variable TENCENTCLOUD_APPID
uin: String
from enviroment variable TENCENTCLOUD_UIN
Trait Implementations
impl Clone for Context
[src]
impl Debug for Context
[src]
impl Eq for Context
[src]
impl PartialEq<Context> for Context
[src]
impl StructuralEq for Context
[src]
impl StructuralPartialEq for Context
[src]
Auto Trait Implementations
impl RefUnwindSafe for Context
[src]
impl Send for Context
[src]
impl Sync for Context
[src]
impl Unpin for Context
[src]
impl UnwindSafe for Context
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,