#[non_exhaustive]
pub enum MetadataField {
AgentId,
AwsRequestId,
ComputePlatform,
ExecutionEnvironment,
LambdaFunctionArn,
LambdaMemoryLimitInMb,
LambdaPreviousExecutionTimeInMilliseconds,
LambdaRemainingTimeInMilliseconds,
LambdaTimeGapBetweenInvokesInMilliseconds,
Unknown(String),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AgentId
Unique identifier for the agent instance.
AwsRequestId
AWS requestId of the Lambda invocation.
ComputePlatform
Compute platform on which agent is running.
ExecutionEnvironment
Execution environment on which Lambda function is running.
LambdaFunctionArn
Function ARN that’s used to invoke the Lambda function.
LambdaMemoryLimitInMb
Memory allocated for the Lambda function.
LambdaPreviousExecutionTimeInMilliseconds
Time in milliseconds for the previous Lambda invocation.
LambdaRemainingTimeInMilliseconds
Time in milliseconds left before the execution times out.
LambdaTimeGapBetweenInvokesInMilliseconds
Time in milliseconds between two invocations of the Lambda function.
Unknown(String)
Unknown contains new variants that have been added since this code was generated.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MetadataField
impl Send for MetadataField
impl Sync for MetadataField
impl Unpin for MetadataField
impl UnwindSafe for MetadataField
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more