#[non_exhaustive]pub struct SshRole {
pub key_type: String,
pub default_user: String,
pub allowed_users: String,
pub ttl: String,
pub max_ttl: String,
pub allowed_critical_options: String,
pub allowed_extensions: String,
pub allow_user_certificates: bool,
pub allow_host_certificates: bool,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key_type: String§default_user: String§allowed_users: String§ttl: String§max_ttl: String§allowed_critical_options: String§allowed_extensions: String§allow_user_certificates: bool§allow_host_certificates: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for SshRole
impl<'de> Deserialize<'de> for SshRole
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
Auto Trait Implementations§
impl Freeze for SshRole
impl RefUnwindSafe for SshRole
impl Send for SshRole
impl Sync for SshRole
impl Unpin for SshRole
impl UnsafeUnpin for SshRole
impl UnwindSafe for SshRole
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