#[repr(C)]pub struct otSrpServerLeaseConfig {
pub mMinLease: u32,
pub mMaxLease: u32,
pub mMinKeyLease: u32,
pub mMaxKeyLease: u32,
}
Expand description
Includes SRP server LEASE and KEY-LEASE configurations.
Fields§
§mMinLease: u32
< The minimum LEASE interval in seconds.
mMaxLease: u32
< The maximum LEASE interval in seconds.
mMinKeyLease: u32
< The minimum KEY-LEASE interval in seconds.
mMaxKeyLease: u32
< The maximum KEY-LEASE interval in seconds.
Trait Implementations§
Source§impl Clone for otSrpServerLeaseConfig
impl Clone for otSrpServerLeaseConfig
Source§fn clone(&self) -> otSrpServerLeaseConfig
fn clone(&self) -> otSrpServerLeaseConfig
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 otSrpServerLeaseConfig
impl Debug for otSrpServerLeaseConfig
Source§impl Default for otSrpServerLeaseConfig
impl Default for otSrpServerLeaseConfig
Source§fn default() -> otSrpServerLeaseConfig
fn default() -> otSrpServerLeaseConfig
Returns the “default value” for a type. Read more
impl Copy for otSrpServerLeaseConfig
Auto Trait Implementations§
impl Freeze for otSrpServerLeaseConfig
impl RefUnwindSafe for otSrpServerLeaseConfig
impl Send for otSrpServerLeaseConfig
impl Sync for otSrpServerLeaseConfig
impl Unpin for otSrpServerLeaseConfig
impl UnwindSafe for otSrpServerLeaseConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)