Struct azure_functions::Context [−][src]
pub struct Context<'a> { /* fields omitted */ }Represents context about an Azure Function invocation.
Methods
impl<'a> Context<'a>[src]
impl<'a> Context<'a>pub fn invocation_id(&self) -> &str[src]
pub fn invocation_id(&self) -> &strGets the invocation identifier for the current Azure Function.
pub fn function_id(&self) -> &str[src]
pub fn function_id(&self) -> &strGets the function identifier for the current Azure Function.
pub fn function_name(&self) -> &str[src]
pub fn function_name(&self) -> &strGets the name of the current Azure Function.
pub fn current_function_directory(&self) -> Option<PathBuf>[src]
pub fn current_function_directory(&self) -> Option<PathBuf>Gets the directory for the current Azure Function.
pub fn function_app_directory(&self) -> Option<PathBuf>[src]
pub fn function_app_directory(&self) -> Option<PathBuf>Gets the directory for the current Azure Function Application.