pub struct PlatformConfigSnapshot {
pub recommended_scan_duration_ms: u64,
pub recommended_connection_timeout_ms: u64,
pub max_concurrent_connections: usize,
pub exposes_mac_address: bool,
}Expand description
Serializable snapshot of platform configuration.
Fields§
§recommended_scan_duration_ms: u64§recommended_connection_timeout_ms: u64§max_concurrent_connections: usize§exposes_mac_address: boolTrait Implementations§
Source§impl Clone for PlatformConfigSnapshot
impl Clone for PlatformConfigSnapshot
Source§fn clone(&self) -> PlatformConfigSnapshot
fn clone(&self) -> PlatformConfigSnapshot
Returns a duplicate 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 PlatformConfigSnapshot
impl Debug for PlatformConfigSnapshot
Source§impl<'de> Deserialize<'de> for PlatformConfigSnapshot
impl<'de> Deserialize<'de> for PlatformConfigSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PlatformConfig> for PlatformConfigSnapshot
impl From<&PlatformConfig> for PlatformConfigSnapshot
Source§fn from(config: &PlatformConfig) -> Self
fn from(config: &PlatformConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PlatformConfigSnapshot
impl RefUnwindSafe for PlatformConfigSnapshot
impl Send for PlatformConfigSnapshot
impl Sync for PlatformConfigSnapshot
impl Unpin for PlatformConfigSnapshot
impl UnwindSafe for PlatformConfigSnapshot
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