pub struct UpdateTargetSystemRequestModel {
pub name: String,
pub password_policy: Option<Box<PamPasswordPolicyRequestModel>>,
pub supports_session_termination: Option<bool>,
}Expand description
UpdateTargetSystemRequestModel : The body of PUT rotation/target-systems/{id} (spec
UpdateAutomaticTargetSystem / UpdateManualTargetSystem), which replaces the separate rename
and policy operations. Carries the target’s whole updatable shape: every field is written as
sent, so a caller editing one of them must send the others as they stand rather than omitting
them. The target’s method and kind are fixed at registration and cannot be updated here.
Fields§
§name: StringThe target system’s display name.
password_policy: Option<Box<PamPasswordPolicyRequestModel>>§supports_session_termination: Option<bool>Whether the integration can terminate the account’s live sessions after a rotation; gates whether rotation configs on this target may request session termination.
Implementations§
Source§impl UpdateTargetSystemRequestModel
impl UpdateTargetSystemRequestModel
Sourcepub fn new(name: String) -> UpdateTargetSystemRequestModel
pub fn new(name: String) -> UpdateTargetSystemRequestModel
The body of PUT rotation/target-systems/{id} (spec UpdateAutomaticTargetSystem /
UpdateManualTargetSystem), which replaces the separate rename and policy operations.
Carries the target’s whole updatable shape: every field is written as sent, so a caller
editing one of them must send the others as they stand rather than omitting them. The
target’s method and kind are fixed at registration and cannot be updated here.
Trait Implementations§
Source§impl Clone for UpdateTargetSystemRequestModel
impl Clone for UpdateTargetSystemRequestModel
Source§fn clone(&self) -> UpdateTargetSystemRequestModel
fn clone(&self) -> UpdateTargetSystemRequestModel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UpdateTargetSystemRequestModel
impl Default for UpdateTargetSystemRequestModel
Source§fn default() -> UpdateTargetSystemRequestModel
fn default() -> UpdateTargetSystemRequestModel
Source§impl<'de> Deserialize<'de> for UpdateTargetSystemRequestModel
impl<'de> Deserialize<'de> for UpdateTargetSystemRequestModel
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 UpdateTargetSystemRequestModel
Auto Trait Implementations§
impl Freeze for UpdateTargetSystemRequestModel
impl RefUnwindSafe for UpdateTargetSystemRequestModel
impl Send for UpdateTargetSystemRequestModel
impl Sync for UpdateTargetSystemRequestModel
impl Unpin for UpdateTargetSystemRequestModel
impl UnsafeUnpin for UpdateTargetSystemRequestModel
impl UnwindSafe for UpdateTargetSystemRequestModel
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