pub enum ServiceActivationState {
Enabled,
Disabled,
NotConfigured,
}Expand description
Installation-level activation of one managed service.
Variants§
Enabled
The service is configured and participates in lifecycle management.
Disabled
The service is intentionally disabled by deployment policy.
NotConfigured
The deployment has no provider or configuration for the service.
Implementations§
Source§impl ServiceActivationState
impl ServiceActivationState
Sourcepub fn is_enabled(self) -> bool
pub fn is_enabled(self) -> bool
Reports whether lifecycle actions may run for this service.
Sourcepub fn is_configured(self) -> bool
pub fn is_configured(self) -> bool
Reports whether deployment configuration exists for this service.
Trait Implementations§
Source§impl Clone for ServiceActivationState
impl Clone for ServiceActivationState
Source§fn clone(&self) -> ServiceActivationState
fn clone(&self) -> ServiceActivationState
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 moreimpl Copy for ServiceActivationState
Source§impl Debug for ServiceActivationState
impl Debug for ServiceActivationState
impl Eq for ServiceActivationState
Source§impl PartialEq for ServiceActivationState
impl PartialEq for ServiceActivationState
impl StructuralPartialEq for ServiceActivationState
Auto Trait Implementations§
impl Freeze for ServiceActivationState
impl RefUnwindSafe for ServiceActivationState
impl Send for ServiceActivationState
impl Sync for ServiceActivationState
impl Unpin for ServiceActivationState
impl UnsafeUnpin for ServiceActivationState
impl UnwindSafe for ServiceActivationState
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