#[non_exhaustive]pub struct InvalidateApprovalRequestMessage {
pub name: String,
/* private fields */
}Expand description
Request to invalidate an existing approval.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringName of the ApprovalRequest to invalidate.
Implementations§
Trait Implementations§
Source§impl Clone for InvalidateApprovalRequestMessage
impl Clone for InvalidateApprovalRequestMessage
Source§fn clone(&self) -> InvalidateApprovalRequestMessage
fn clone(&self) -> InvalidateApprovalRequestMessage
Returns a duplicate 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 Default for InvalidateApprovalRequestMessage
impl Default for InvalidateApprovalRequestMessage
Source§fn default() -> InvalidateApprovalRequestMessage
fn default() -> InvalidateApprovalRequestMessage
Returns the “default value” for a type. Read more
Source§impl PartialEq for InvalidateApprovalRequestMessage
impl PartialEq for InvalidateApprovalRequestMessage
Source§fn eq(&self, other: &InvalidateApprovalRequestMessage) -> bool
fn eq(&self, other: &InvalidateApprovalRequestMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InvalidateApprovalRequestMessage
Auto Trait Implementations§
impl Freeze for InvalidateApprovalRequestMessage
impl RefUnwindSafe for InvalidateApprovalRequestMessage
impl Send for InvalidateApprovalRequestMessage
impl Sync for InvalidateApprovalRequestMessage
impl Unpin for InvalidateApprovalRequestMessage
impl UnsafeUnpin for InvalidateApprovalRequestMessage
impl UnwindSafe for InvalidateApprovalRequestMessage
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