pub struct UpdateV2DraftParams {
pub update_draft_request_v2: UpdateDraftRequestV2,
pub idempotency_key: Option<String>,
}Expand description
struct for passing parameters to the method
PolicyEditorV2BetaApi::update_v2_draft
Fields§
§update_draft_request_v2: UpdateDraftRequestV2§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 UpdateV2DraftParams
impl UpdateV2DraftParams
Sourcepub fn builder() -> UpdateV2DraftParamsBuilder
pub fn builder() -> UpdateV2DraftParamsBuilder
Create an instance of UpdateV2DraftParams using the builder syntax
Trait Implementations§
Source§impl Clone for UpdateV2DraftParams
impl Clone for UpdateV2DraftParams
Source§fn clone(&self) -> UpdateV2DraftParams
fn clone(&self) -> UpdateV2DraftParams
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 moreAuto Trait Implementations§
impl Freeze for UpdateV2DraftParams
impl RefUnwindSafe for UpdateV2DraftParams
impl Send for UpdateV2DraftParams
impl Sync for UpdateV2DraftParams
impl Unpin for UpdateV2DraftParams
impl UnwindSafe for UpdateV2DraftParams
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