#[non_exhaustive]pub struct NtpAuthenticationKey {
pub number: String,
pub key_type: Option<String>,
}Expand description
An authentication-key. The key value is not extracted.
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.number: String§key_type: Option<String>md5, sha1 or sha256.
Trait Implementations§
Source§impl Clone for NtpAuthenticationKey
impl Clone for NtpAuthenticationKey
Source§impl Debug for NtpAuthenticationKey
impl Debug for NtpAuthenticationKey
impl Eq for NtpAuthenticationKey
Source§impl PartialEq for NtpAuthenticationKey
impl PartialEq for NtpAuthenticationKey
impl StructuralPartialEq for NtpAuthenticationKey
Auto Trait Implementations§
impl Forget for NtpAuthenticationKey
impl Freeze for NtpAuthenticationKey
impl Move for NtpAuthenticationKey
impl RefUnwindSafe for NtpAuthenticationKey
impl Send for NtpAuthenticationKey
impl Sync for NtpAuthenticationKey
impl Unpin for NtpAuthenticationKey
impl UnsafeUnpin for NtpAuthenticationKey
impl UnwindSafe for NtpAuthenticationKey
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