pub struct CreateRotationConfigRequestModel {
pub cipher_id: Uuid,
pub target_system_id: Uuid,
pub sealed_data: String,
pub wrapped_key: String,
pub schedule_cron: Option<String>,
pub rotate_on_access_end: Option<bool>,
}Expand description
CreateRotationConfigRequestModel : Creates a rotation config for a cipher (spec
CreateRotationConfig).
Fields§
§cipher_id: UuidThe organization cipher to rotate. A cipher has at most one rotation config.
target_system_id: Uuid§sealed_data: StringThe config’s sealed blob.
wrapped_key: StringThe content key of the sealed blob, wrapped by the organization key.
schedule_cron: Option<String>A Quartz 6-field cron expression evaluated in UTC. Null means no scheduled rotation.
rotate_on_access_end: Option<bool>When true, the credential rotates whenever a lease on the cipher ends, however it ended.
Implementations§
Trait Implementations§
Source§impl Clone for CreateRotationConfigRequestModel
impl Clone for CreateRotationConfigRequestModel
Source§fn clone(&self) -> CreateRotationConfigRequestModel
fn clone(&self) -> CreateRotationConfigRequestModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CreateRotationConfigRequestModel
impl Default for CreateRotationConfigRequestModel
Source§fn default() -> CreateRotationConfigRequestModel
fn default() -> CreateRotationConfigRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateRotationConfigRequestModel
impl<'de> Deserialize<'de> for CreateRotationConfigRequestModel
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CreateRotationConfigRequestModel
Auto Trait Implementations§
impl Freeze for CreateRotationConfigRequestModel
impl RefUnwindSafe for CreateRotationConfigRequestModel
impl Send for CreateRotationConfigRequestModel
impl Sync for CreateRotationConfigRequestModel
impl Unpin for CreateRotationConfigRequestModel
impl UnsafeUnpin for CreateRotationConfigRequestModel
impl UnwindSafe for CreateRotationConfigRequestModel
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
Mutably borrows from an owned value. Read more
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
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more