pub struct Properties {
pub read: bool,
pub write: bool,
pub notify: bool,
pub indicate: bool,
pub write_without_response: bool,
pub authenticated_signed_writes: bool,
pub extended_properties: bool,
pub reliable_write: bool,
pub writable_auxiliaries: bool,
pub broadcast: bool,
}Expand description
属性标志
Fields§
§read: bool可读
write: bool可写
notify: bool通知
indicate: bool发送指示
write_without_response: bool无响应写入
authenticated_signed_writes: bool认证签名写入
extended_properties: bool指示特征具有扩展的属性
reliable_write: bool支持可靠写入
writable_auxiliaries: bool支持可写辅助属性
broadcast: bool允许特征值进行广播
Trait Implementations§
Source§impl Clone for Properties
impl Clone for Properties
Source§fn clone(&self) -> Properties
fn clone(&self) -> Properties
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 moreAuto Trait Implementations§
impl Freeze for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
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