pub struct RotationClaimResponseModel {
pub attempt_id: Option<Uuid>,
pub job_id: Option<Uuid>,
pub source: Option<PamRotationSource>,
pub target_system_id: Option<Uuid>,
pub target_system_name: Option<String>,
pub target_system_sealed_data: Option<String>,
pub target_system_wrapped_key: Option<String>,
pub cipher_id: Option<Uuid>,
pub rotation_config_sealed_data: Option<String>,
pub rotation_config_wrapped_key: Option<String>,
pub execute_by: Option<String>,
}Expand description
RotationClaimResponseModel : The work snapshot a won claim returns (spec ClaimRotation), with
everything needed to execute the rotation. A lost or ineligible claim gets an error response
instead, so every field is populated.
Fields§
§attempt_id: Option<Uuid>The attempt this claim opened, which the outcome is reported against.
job_id: Option<Uuid>§source: Option<PamRotationSource>§target_system_id: Option<Uuid>§target_system_name: Option<String>§target_system_sealed_data: Option<String>The target system’s sealed blob.
target_system_wrapped_key: Option<String>The content key of the target system’s sealed blob, wrapped by the organization key.
cipher_id: Option<Uuid>§rotation_config_sealed_data: Option<String>The rotation config’s sealed blob.
rotation_config_wrapped_key: Option<String>The content key of the rotation config’s sealed blob, wrapped by the organization key.
execute_by: Option<String>The claim’s lease deadline. Past it, the release sweep may reclaim the job if the access connector’s heartbeat has also gone stale.
Implementations§
Source§impl RotationClaimResponseModel
impl RotationClaimResponseModel
Sourcepub fn new() -> RotationClaimResponseModel
pub fn new() -> RotationClaimResponseModel
The work snapshot a won claim returns (spec ClaimRotation), with everything needed to
execute the rotation. A lost or ineligible claim gets an error response instead, so every
field is populated.
Trait Implementations§
Source§impl Clone for RotationClaimResponseModel
impl Clone for RotationClaimResponseModel
Source§fn clone(&self) -> RotationClaimResponseModel
fn clone(&self) -> RotationClaimResponseModel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RotationClaimResponseModel
impl Debug for RotationClaimResponseModel
Source§impl Default for RotationClaimResponseModel
impl Default for RotationClaimResponseModel
Source§fn default() -> RotationClaimResponseModel
fn default() -> RotationClaimResponseModel
Source§impl<'de> Deserialize<'de> for RotationClaimResponseModel
impl<'de> Deserialize<'de> for RotationClaimResponseModel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl StructuralPartialEq for RotationClaimResponseModel
Auto Trait Implementations§
impl Freeze for RotationClaimResponseModel
impl RefUnwindSafe for RotationClaimResponseModel
impl Send for RotationClaimResponseModel
impl Sync for RotationClaimResponseModel
impl Unpin for RotationClaimResponseModel
impl UnsafeUnpin for RotationClaimResponseModel
impl UnwindSafe for RotationClaimResponseModel
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Arc<> Read more