#[repr(C)]pub struct otServiceConfig {
pub mServiceId: u8,
pub mEnterpriseNumber: u32,
pub mServiceDataLength: u8,
pub mServiceData: [u8; 252],
pub mServerConfig: otServerConfig,
}Expand description
This structure represents a Service configuration.
Fields§
§mServiceId: u8< Used to return Service ID when iterating over the partition’s 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 moreimpl 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