#[repr(C)]pub struct otSrpServerLeaseInfo {
pub mLease: u32,
pub mKeyLease: u32,
pub mRemainingLease: u32,
pub mRemainingKeyLease: u32,
}
Expand description
Includes SRP server lease information of a host/service.
Fields§
§mLease: u32
< The lease time of a host/service in milliseconds.
mKeyLease: u32
< The key lease time of a host/service in milliseconds.
mRemainingLease: u32
< The remaining lease time of the host/service in milliseconds.
mRemainingKeyLease: u32
< The remaining key lease time of a host/service in milliseconds.
Trait Implementations§
Source§impl Clone for otSrpServerLeaseInfo
impl Clone for otSrpServerLeaseInfo
Source§fn clone(&self) -> otSrpServerLeaseInfo
fn clone(&self) -> otSrpServerLeaseInfo
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 otSrpServerLeaseInfo
impl Debug for otSrpServerLeaseInfo
Source§impl Default for otSrpServerLeaseInfo
impl Default for otSrpServerLeaseInfo
Source§fn default() -> otSrpServerLeaseInfo
fn default() -> otSrpServerLeaseInfo
Returns the “default value” for a type. Read more
impl Copy for otSrpServerLeaseInfo
Auto Trait Implementations§
impl Freeze for otSrpServerLeaseInfo
impl RefUnwindSafe for otSrpServerLeaseInfo
impl Send for otSrpServerLeaseInfo
impl Sync for otSrpServerLeaseInfo
impl Unpin for otSrpServerLeaseInfo
impl UnwindSafe for otSrpServerLeaseInfo
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
)