pub struct UpdateRotationConfigRequestModel {
pub account_identity: String,
pub terminate_sessions: Option<bool>,
pub schedule_cron: Option<String>,
pub rotate_on_access_end: Option<bool>,
}Expand description
UpdateRotationConfigRequestModel : The body of PUT rotation/configs/{id} (spec
UpdateRotationConfig), which replaces the separate settings and account operations. Carries
the config’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.
Fields§
§account_identity: StringThe account this config rotates on the target system. Opaque to the server – never parsed.
terminate_sessions: Option<bool>When true, the access connector terminates the account’s live sessions after each rotation. Only an automatic target that supports session termination can honour it.
schedule_cron: Option<String>The scheduled-rotation cadence, as a Quartz 6-field cron expression evaluated in UTC. Null clears the schedule, leaving the config to rotate on demand and/or on access end only.
rotate_on_access_end: Option<bool>When true, the credential is rotated whenever an access lease on the cipher ends, whether it expired or was revoked.
Implementations§
Source§impl UpdateRotationConfigRequestModel
impl UpdateRotationConfigRequestModel
Sourcepub fn new(account_identity: String) -> UpdateRotationConfigRequestModel
pub fn new(account_identity: String) -> UpdateRotationConfigRequestModel
The body of PUT rotation/configs/{id} (spec UpdateRotationConfig), which replaces the
separate settings and account operations. Carries the config’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.
Trait Implementations§
Source§impl Clone for UpdateRotationConfigRequestModel
impl Clone for UpdateRotationConfigRequestModel
Source§fn clone(&self) -> UpdateRotationConfigRequestModel
fn clone(&self) -> UpdateRotationConfigRequestModel
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 UpdateRotationConfigRequestModel
impl Default for UpdateRotationConfigRequestModel
Source§fn default() -> UpdateRotationConfigRequestModel
fn default() -> UpdateRotationConfigRequestModel
Source§impl<'de> Deserialize<'de> for UpdateRotationConfigRequestModel
impl<'de> Deserialize<'de> for UpdateRotationConfigRequestModel
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 UpdateRotationConfigRequestModel
Auto Trait Implementations§
impl Freeze for UpdateRotationConfigRequestModel
impl RefUnwindSafe for UpdateRotationConfigRequestModel
impl Send for UpdateRotationConfigRequestModel
impl Sync for UpdateRotationConfigRequestModel
impl Unpin for UpdateRotationConfigRequestModel
impl UnsafeUnpin for UpdateRotationConfigRequestModel
impl UnwindSafe for UpdateRotationConfigRequestModel
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