pub enum DelegationAdminCommand {
StartRotation {
interval_secs: u64,
},
StopRotation,
}Expand description
DelegationAdminCommand
Administrative commands for managing delegation rotation.
These commands are expected to be root-authorized and are intentionally narrow in scope.
Variants§
StartRotation
Start periodic delegation rotation.
interval_secs defines how frequently new certificates are issued.
StopRotation
Stop delegation rotation.
Trait Implementations§
Source§impl CandidType for DelegationAdminCommand
impl CandidType for DelegationAdminCommand
Source§impl Clone for DelegationAdminCommand
impl Clone for DelegationAdminCommand
Source§fn clone(&self) -> DelegationAdminCommand
fn clone(&self) -> DelegationAdminCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DelegationAdminCommand
impl Debug for DelegationAdminCommand
Source§impl<'de> Deserialize<'de> for DelegationAdminCommand
impl<'de> Deserialize<'de> for DelegationAdminCommand
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
Source§impl PartialEq for DelegationAdminCommand
impl PartialEq for DelegationAdminCommand
impl Eq for DelegationAdminCommand
impl StructuralPartialEq for DelegationAdminCommand
Auto Trait Implementations§
impl Freeze for DelegationAdminCommand
impl RefUnwindSafe for DelegationAdminCommand
impl Send for DelegationAdminCommand
impl Sync for DelegationAdminCommand
impl Unpin for DelegationAdminCommand
impl UnwindSafe for DelegationAdminCommand
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