pub struct ApprovalRequestRequest {
pub operation: String,
pub method: Option<String>,
pub body: Option<Value>,
pub description: Option<String>,
}
Expand description
Request to create an approval request.
Fields
operation: String
Operation URL path, e.g. /crypto/v1/keys
, /crypto/v1/groups/<id>
.
method: Option<String>
Method for the operation: POST, PATCH, PUT, DELETE, or GET. Default is POST.
body: Option<Value>
description: Option<String>
Optional comment about the approval request for the reviewer.
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ApprovalRequestRequest
impl Send for ApprovalRequestRequest
impl Sync for ApprovalRequestRequest
impl Unpin for ApprovalRequestRequest
impl UnwindSafe for ApprovalRequestRequest
Blanket Implementations
Mutably borrows from an owned value. Read more