Struct esp_idf_sys::wps_factory_information_t
source · #[repr(C)]pub struct wps_factory_information_t {
pub manufacturer: [c_char; 65],
pub model_number: [c_char; 33],
pub model_name: [c_char; 33],
pub device_name: [c_char; 33],
}
Expand description
@brief Structure representing WPS factory information for ESP device.
This structure holds various strings representing factory information for a device, such as the manufacturer, model number, model name, and device name. Each string is a null-terminated character array. If any of the strings are empty, the default values are used.
Fields§
§manufacturer: [c_char; 65]
< Manufacturer of the device. If empty, the default manufacturer is used.
model_number: [c_char; 33]
< Model number of the device. If empty, the default model number is used.
model_name: [c_char; 33]
< Model name of the device. If empty, the default model name is used.
device_name: [c_char; 33]
< Device name. If empty, the default device name is used.
Trait Implementations§
source§impl Clone for wps_factory_information_t
impl Clone for wps_factory_information_t
source§fn clone(&self) -> wps_factory_information_t
fn clone(&self) -> wps_factory_information_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for wps_factory_information_t
impl Debug for wps_factory_information_t
source§impl Default for wps_factory_information_t
impl Default for wps_factory_information_t
impl Copy for wps_factory_information_t
Auto Trait Implementations§
impl Freeze for wps_factory_information_t
impl RefUnwindSafe for wps_factory_information_t
impl Send for wps_factory_information_t
impl Sync for wps_factory_information_t
impl Unpin for wps_factory_information_t
impl UnwindSafe for wps_factory_information_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)