pub struct ApprovalRequest {
pub approval_id: Option<String>,
pub config: Option<ApprovalConfig>,
}
Expand description
Request to create a new approval.
Fields§
§approval_id: Option<String>
Unique identifier with which the approval is to be registered.
config: Option<ApprovalConfig>
Config to create a new approval.
Implementations§
Trait Implementations§
source§impl Clone for ApprovalRequest
impl Clone for ApprovalRequest
source§fn clone(&self) -> ApprovalRequest
fn clone(&self) -> ApprovalRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApprovalRequest
impl Debug for ApprovalRequest
source§impl Default for ApprovalRequest
impl Default for ApprovalRequest
source§fn default() -> ApprovalRequest
fn default() -> ApprovalRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ApprovalRequest
impl<'de> Deserialize<'de> for ApprovalRequest
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 ApprovalRequest
impl PartialEq for ApprovalRequest
source§fn eq(&self, other: &ApprovalRequest) -> bool
fn eq(&self, other: &ApprovalRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ApprovalRequest
impl Serialize for ApprovalRequest
impl StructuralPartialEq for ApprovalRequest
Auto Trait Implementations§
impl Freeze for ApprovalRequest
impl RefUnwindSafe for ApprovalRequest
impl Send for ApprovalRequest
impl Sync for ApprovalRequest
impl Unpin for ApprovalRequest
impl UnwindSafe for ApprovalRequest
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