Struct openthread_sys::otServiceConfig
source · #[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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)