pub struct RecoveryPlanRequest {
pub execution_id: RecoveryExecutionId,
pub definition_id: RecoveryWorkflowId,
pub customer_app_id: String,
pub requested_by: String,
pub requested_at: JobInstant,
pub scheduled_for: Option<JobInstant>,
pub idempotency_key: Option<IdempotencyKey>,
pub operator_capabilities: Vec<Capability>,
pub local_only_sensitive_present: bool,
pub local_only_sensitive_acknowledged: bool,
}Fields§
§execution_id: RecoveryExecutionId§definition_id: RecoveryWorkflowId§customer_app_id: String§requested_by: String§requested_at: JobInstant§scheduled_for: Option<JobInstant>§idempotency_key: Option<IdempotencyKey>§operator_capabilities: Vec<Capability>§local_only_sensitive_present: bool§local_only_sensitive_acknowledged: boolImplementations§
Source§impl RecoveryPlanRequest
impl RecoveryPlanRequest
pub fn new( execution_id: RecoveryExecutionId, definition_id: RecoveryWorkflowId, customer_app_id: impl Into<String>, requested_by: impl Into<String>, requested_at: JobInstant, ) -> Result<Self, OpsModelError>
pub fn scheduled_for(self, instant: JobInstant) -> Self
pub fn with_idempotency_key(self, key: IdempotencyKey) -> Self
pub fn with_capability(self, capability: Capability) -> Self
pub fn with_local_only_sensitive_data(self, acknowledged: bool) -> Self
Trait Implementations§
Source§impl Clone for RecoveryPlanRequest
impl Clone for RecoveryPlanRequest
Source§fn clone(&self) -> RecoveryPlanRequest
fn clone(&self) -> RecoveryPlanRequest
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 RecoveryPlanRequest
impl Debug for RecoveryPlanRequest
Source§impl PartialEq for RecoveryPlanRequest
impl PartialEq for RecoveryPlanRequest
impl Eq for RecoveryPlanRequest
impl StructuralPartialEq for RecoveryPlanRequest
Auto Trait Implementations§
impl Freeze for RecoveryPlanRequest
impl RefUnwindSafe for RecoveryPlanRequest
impl Send for RecoveryPlanRequest
impl Sync for RecoveryPlanRequest
impl Unpin for RecoveryPlanRequest
impl UnsafeUnpin for RecoveryPlanRequest
impl UnwindSafe for RecoveryPlanRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more