#[repr(C)]pub struct otSecurityPolicy {
pub mRotationTime: u16,
pub mFlags: u8,
}Expand description
This structure represent Security Policy.
Fields§
§mRotationTime: u16< The value for thrKeyRotation in units of hours
mFlags: u8< Flags as defined in Thread 1.1 Section 8.10.1.15
Trait Implementations§
Source§impl Clone for otSecurityPolicy
impl Clone for otSecurityPolicy
Source§fn clone(&self) -> otSecurityPolicy
fn clone(&self) -> otSecurityPolicy
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 otSecurityPolicy
impl Debug for otSecurityPolicy
impl Copy for otSecurityPolicy
Auto Trait Implementations§
impl Freeze for otSecurityPolicy
impl RefUnwindSafe for otSecurityPolicy
impl Send for otSecurityPolicy
impl Sync for otSecurityPolicy
impl Unpin for otSecurityPolicy
impl UnwindSafe for otSecurityPolicy
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