pub struct RejectAccountRequest {
pub approval_name: Option<String>,
pub reason: Option<String>,
}Expand description
Request message for PartnerProcurementService.RejectAccount.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- accounts reject providers (request)
Fields§
§approval_name: Option<String>The name of the approval being rejected. If absent and there is only one approval possible, that approval will be rejected. If absent and there are many approvals possible, the request will fail with a 400 Bad Request. Optional.
reason: Option<String>Free form text string explaining the rejection reason. Max allowed length: 256 bytes. Longer strings will be truncated.
Trait Implementations§
Source§impl Clone for RejectAccountRequest
impl Clone for RejectAccountRequest
Source§fn clone(&self) -> RejectAccountRequest
fn clone(&self) -> RejectAccountRequest
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 Debug for RejectAccountRequest
impl Debug for RejectAccountRequest
Source§impl Default for RejectAccountRequest
impl Default for RejectAccountRequest
Source§fn default() -> RejectAccountRequest
fn default() -> RejectAccountRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RejectAccountRequest
impl<'de> Deserialize<'de> for RejectAccountRequest
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 Serialize for RejectAccountRequest
impl Serialize for RejectAccountRequest
impl RequestValue for RejectAccountRequest
Auto Trait Implementations§
impl Freeze for RejectAccountRequest
impl RefUnwindSafe for RejectAccountRequest
impl Send for RejectAccountRequest
impl Sync for RejectAccountRequest
impl Unpin for RejectAccountRequest
impl UnwindSafe for RejectAccountRequest
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