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 kind: Option<PamTargetSystemKind>,
pub password_policy: Option<Box<PamPasswordPolicyResponseModel>>,
pub cipher_id: Option<Uuid>,
pub account_identity: Option<String>,
pub terminate_sessions: Option<bool>,
pub execute_by: Option<String>,
}Expand description
RotationClaimResponseModel : The work snapshot handed back on a successful claim (spec
ClaimRotation) – everything the access connector needs to execute the rotation without
another round trip. Returned only when the claim was actually won; a lost or ineligible claim is
an error response instead, so every field here is populated.
Fields§
§attempt_id: Option<Uuid>The attempt opened by this claim – the id the access connector reports its outcome against.
job_id: Option<Uuid>The rotation job the claim was taken on.
source: Option<PamRotationSource>§target_system_id: Option<Uuid>The target system the rotation runs against.
target_system_name: Option<String>The target system’s display name.
kind: Option<PamTargetSystemKind>§password_policy: Option<Box<PamPasswordPolicyResponseModel>>§cipher_id: Option<Uuid>The organization cipher holding the credential to rotate.
account_identity: Option<String>The account to rotate on the target system. Opaque to the server – never parsed; only the access connector interprets it.
terminate_sessions: Option<bool>When true, the access connector terminates the account’s live sessions after rotating.
execute_by: Option<String>The claim’s lease deadline. The access connector must finish – or at least keep heartbeating – before this, or the release sweep may reclaim the job out from under it once its heartbeat also goes stale.
Implementations§
Source§impl RotationClaimResponseModel
impl RotationClaimResponseModel
Sourcepub fn new() -> RotationClaimResponseModel
pub fn new() -> RotationClaimResponseModel
The work snapshot handed back on a successful claim (spec ClaimRotation) – everything the
access connector needs to execute the rotation without another round trip. Returned only
when the claim was actually won; a lost or ineligible claim is an error response instead, so
every field here 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