pub struct UpdateDraftParams {
pub policy_rules: PolicyRules,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [update_draft
]
Fields§
§policy_rules: PolicyRules
§idempotency_key: Option<String>
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Implementations§
Source§impl UpdateDraftParams
impl UpdateDraftParams
Sourcepub fn builder() -> UpdateDraftParamsBuilder
pub fn builder() -> UpdateDraftParamsBuilder
Create an instance of UpdateDraftParams
using the builder syntax
Trait Implementations§
Source§impl Clone for UpdateDraftParams
impl Clone for UpdateDraftParams
Source§fn clone(&self) -> UpdateDraftParams
fn clone(&self) -> UpdateDraftParams
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 moreAuto Trait Implementations§
impl Freeze for UpdateDraftParams
impl RefUnwindSafe for UpdateDraftParams
impl Send for UpdateDraftParams
impl Sync for UpdateDraftParams
impl Unpin for UpdateDraftParams
impl UnwindSafe for UpdateDraftParams
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