#[repr(C)]pub struct otServiceConfig {
pub mServiceId: u8,
pub mEnterpriseNumber: u32,
pub mServiceDataLength: u8,
pub mServiceData: [u8; 252],
pub mServerConfig: otServerConfig,
}
Expand description
Represents a Service configuration.
Fields§
§mServiceId: u8
< Service ID (when iterating over the Network Data).
mEnterpriseNumber: u32
< IANA Enterprise Number.
mServiceDataLength: u8
< Length of service data.
mServiceData: [u8; 252]
< Service data bytes.
mServerConfig: otServerConfig
< The Server configuration.
Trait Implementations§
Source§impl Clone for otServiceConfig
impl Clone for otServiceConfig
Source§fn clone(&self) -> otServiceConfig
fn clone(&self) -> otServiceConfig
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 otServiceConfig
impl Debug for otServiceConfig
Source§impl Default for otServiceConfig
impl Default for otServiceConfig
impl Copy for otServiceConfig
Auto Trait Implementations§
impl Freeze for otServiceConfig
impl RefUnwindSafe for otServiceConfig
impl Send for otServiceConfig
impl Sync for otServiceConfig
impl Unpin for otServiceConfig
impl UnwindSafe for otServiceConfig
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
)