pub struct ApproveAccountRequest {
pub approval_name: Option<String>,
pub properties: Option<HashMap<String, String>>,
pub reason: Option<String>,
}Expand description
Request message for PartnerProcurementService.ApproveAccount.
§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 approve providers (request)
Fields§
§approval_name: Option<String>The name of the approval being approved. If absent and there is only one approval possible, that approval will be granted. If absent and there are many approvals possible, the request will fail with a 400 Bad Request. Optional.
properties: Option<HashMap<String, String>>Set of properties that should be associated with the account. Optional.
reason: Option<String>Free form text string explaining the approval reason. Optional. Max allowed length: 256 bytes. Longer strings will be truncated.
Trait Implementations§
Source§impl Clone for ApproveAccountRequest
impl Clone for ApproveAccountRequest
Source§fn clone(&self) -> ApproveAccountRequest
fn clone(&self) -> ApproveAccountRequest
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 ApproveAccountRequest
impl Debug for ApproveAccountRequest
Source§impl Default for ApproveAccountRequest
impl Default for ApproveAccountRequest
Source§fn default() -> ApproveAccountRequest
fn default() -> ApproveAccountRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApproveAccountRequest
impl<'de> Deserialize<'de> for ApproveAccountRequest
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 ApproveAccountRequest
impl Serialize for ApproveAccountRequest
impl RequestValue for ApproveAccountRequest
Auto Trait Implementations§
impl Freeze for ApproveAccountRequest
impl RefUnwindSafe for ApproveAccountRequest
impl Send for ApproveAccountRequest
impl Sync for ApproveAccountRequest
impl Unpin for ApproveAccountRequest
impl UnwindSafe for ApproveAccountRequest
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