Enum qapi_qmp::ExpirePasswordOptions
source · pub enum ExpirePasswordOptions {
vnc {
time: String,
vnc: ExpirePasswordOptionsVnc,
},
spice(String),
}
Variants§
Implementations§
source§impl ExpirePasswordOptions
impl ExpirePasswordOptions
pub fn protocol(&self) -> DisplayProtocol
Trait Implementations§
source§impl Clone for ExpirePasswordOptions
impl Clone for ExpirePasswordOptions
source§fn clone(&self) -> ExpirePasswordOptions
fn clone(&self) -> ExpirePasswordOptions
Returns a copy 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 ExpirePasswordOptions
impl Debug for ExpirePasswordOptions
source§impl<'de> Deserialize<'de> for ExpirePasswordOptions
impl<'de> Deserialize<'de> for ExpirePasswordOptions
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 From<(ExpirePasswordOptionsVnc, String)> for ExpirePasswordOptions
impl From<(ExpirePasswordOptionsVnc, String)> for ExpirePasswordOptions
source§fn from(val: (ExpirePasswordOptionsVnc, String)) -> Self
fn from(val: (ExpirePasswordOptionsVnc, String)) -> Self
Converts to this type from the input type.
source§impl From<ExpirePasswordOptions> for expire_password
impl From<ExpirePasswordOptions> for expire_password
source§fn from(val: ExpirePasswordOptions) -> Self
fn from(val: ExpirePasswordOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ExpirePasswordOptions
impl Send for ExpirePasswordOptions
impl Sync for ExpirePasswordOptions
impl Unpin for ExpirePasswordOptions
impl UnwindSafe for ExpirePasswordOptions
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