pub enum OperationName {
IamOperation(OperationNameIam),
EcsOperation(OperationNameEcs),
VpcOperation(OperationNameVpc),
RdsOperation(OperationNameRds),
RedisOperation(OperationNameRedis),
ClbOperation(OperationNameClb),
}Expand description
Enum representing a unified set of possible operation names across multiple services.
This enum encapsulates different operation names from various services such as IAM, ECS, VPC, RDS, Redis, and CLB.
It provides a type - safe way to represent and manage different operations in a single structure.
The Debug derive allows for easy debugging by providing a default implementation of the fmt::Debug trait,
which enables printing the enum variants in a readable format.
The Clone derive allows for creating copies of the enum values when needed.
Variants§
IamOperation(OperationNameIam)
Represents operations related to the Identity and Access Management (IAM) service.
The inner value is of type operation_name_iam::OperationNameIam, which contains specific IAM operations.
EcsOperation(OperationNameEcs)
Represents operations related to the Elastic Compute Service (ECS).
The inner value is of type operation_name_ecs::OperationNameEcs, which contains specific ECS operations.
VpcOperation(OperationNameVpc)
Represents operations related to the Virtual Private Cloud (VPC) service.
The inner value is of type operation_name_vpc::OperationNameVpc, which contains specific VPC operations.
RdsOperation(OperationNameRds)
Represents operations related to the Relational Database Service (RDS).
The inner value is of type operation_name_rds::OperationNameRds, which contains specific RDS operations.
RedisOperation(OperationNameRedis)
Represents operations related to the Redis database service.
The inner value is of type operation_name_redis::OperationNameRedis, which contains specific Redis operations.
ClbOperation(OperationNameClb)
Represents operations related to the Cloud Load Balancer (CLB) service.
The inner value is of type operation_name_clb::OperationNameClb, which contains specific CLB operations.
Trait Implementations§
Source§impl Clone for OperationName
impl Clone for OperationName
Source§fn clone(&self) -> OperationName
fn clone(&self) -> OperationName
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OperationName
impl Debug for OperationName
Source§impl ToString for OperationName
Implementation of the ToString trait for the OperationName enum.
This allows converting an instance of OperationName into a string representation.
It is useful when passing the operation name as a parameter in API calls or for logging purposes.
impl ToString for OperationName
Implementation of the ToString trait for the OperationName enum.
This allows converting an instance of OperationName into a string representation.
It is useful when passing the operation name as a parameter in API calls or for logging purposes.
Source§fn to_string(&self) -> String
fn to_string(&self) -> String
Converts an OperationName instance into a string.
Based on the variant of the OperationName enum, it calls the to_string method
of the corresponding inner operation name enum (e.g., OperationNameEcs, OperationNameIam).
§Returns
- A
Stringrepresenting the operation name.
Auto Trait Implementations§
impl Freeze for OperationName
impl RefUnwindSafe for OperationName
impl Send for OperationName
impl Sync for OperationName
impl Unpin for OperationName
impl UnwindSafe for OperationName
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request