pub enum IdReusePolicy {
AllowDuplicate,
AllowDuplicateFailedOnly,
RejectDuplicate,
TerminateIfRunning,
}Variants§
Implementations§
Source§impl IdReusePolicy
impl IdReusePolicy
Sourcepub fn rust_variant(self) -> &'static str
pub fn rust_variant(self) -> &'static str
Variant identifier on temporalio_common::WorkflowIdReusePolicy.
Trait Implementations§
Source§impl Clone for IdReusePolicy
impl Clone for IdReusePolicy
Source§fn clone(&self) -> IdReusePolicy
fn clone(&self) -> IdReusePolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IdReusePolicy
impl Debug for IdReusePolicy
Source§impl PartialEq for IdReusePolicy
impl PartialEq for IdReusePolicy
Source§fn eq(&self, other: &IdReusePolicy) -> bool
fn eq(&self, other: &IdReusePolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IdReusePolicy
impl Eq for IdReusePolicy
impl StructuralPartialEq for IdReusePolicy
Auto Trait Implementations§
impl Freeze for IdReusePolicy
impl RefUnwindSafe for IdReusePolicy
impl Send for IdReusePolicy
impl Sync for IdReusePolicy
impl Unpin for IdReusePolicy
impl UnsafeUnpin for IdReusePolicy
impl UnwindSafe for IdReusePolicy
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