pub struct RotationEvent {
pub name: String,
pub tenant: String,
pub rotated_at: u64,
}Expand description
Rotation notification emitted when a secret is rotated.
Fields§
§name: StringSecret name.
tenant: StringTenant scope (empty = global).
rotated_at: u64Unix timestamp of the rotation.
Trait Implementations§
Source§impl Clone for RotationEvent
impl Clone for RotationEvent
Source§fn clone(&self) -> RotationEvent
fn clone(&self) -> RotationEvent
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 moreAuto Trait Implementations§
impl Freeze for RotationEvent
impl RefUnwindSafe for RotationEvent
impl Send for RotationEvent
impl Sync for RotationEvent
impl Unpin for RotationEvent
impl UnsafeUnpin for RotationEvent
impl UnwindSafe for RotationEvent
Blanket Implementations§
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