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