pub struct Operation {
pub name: Option<String>,
pub is_data_action: Option<bool>,
pub display: Option<Display>,
pub origin: Option<Origin>,
pub action_type: Option<ActionType>,
}
Expand description
Details of a REST API operation, returned from the Resource Provider Operations API
Fields§
§name: Option<String>
The name of the operation, as per Resource-Based Access Control (RBAC). Examples: “Microsoft.Compute/virtualMachines/write”, “Microsoft.Compute/virtualMachines/capture/action”
is_data_action: Option<bool>
Whether the operation applies to data-plane. This is “true” for data-plane operations and “false” for ARM/control-plane operations.
display: Option<Display>
Localized display information for this particular operation.
origin: Option<Origin>
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is “user,system”
action_type: Option<ActionType>
Enum. Indicates the action type. “Internal” refers to actions that are for internal only APIs.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Operation
impl<'de> Deserialize<'de> for Operation
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 Operation
impl PartialEq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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