pub enum Plesk {
Active(ActivePleskConfig),
Available(AvailablePleskConfig),
}
Expand description
Describes either the active or available Plesk installation configurations.
If a Plesk installation system is active, it (ActivePleskConfig
) will be returned,
otherwise a struct (AvailablePleskConfig
) representing the available Plesk distributions
and languages is returned.
Variants§
Active(ActivePleskConfig)
Currently active Plesk configuration.
Available(AvailablePleskConfig)
Describes available Plesk configuration options.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Plesk
impl<'de> Deserialize<'de> for Plesk
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<Plesk> for Plesk
impl PartialEq<Plesk> for Plesk
impl Eq for Plesk
impl StructuralEq for Plesk
impl StructuralPartialEq for Plesk
Auto Trait Implementations§
impl RefUnwindSafe for Plesk
impl Send for Plesk
impl Sync for Plesk
impl Unpin for Plesk
impl UnwindSafe for Plesk
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.