pub struct SecurityRequirements {
pub authentication_required: Option<bool>,
pub secure_connections_required: Option<bool>,
}
Expand description
Authentication and permission requirements for an advertised service.
Corresponds directly to the FIDL SecurityRequirements
definition - with the extra properties
of Clone and PartialEq.
See [fuchsia.bluetooth.bredr.SecurityRequirements] for more documentation.
Fields§
§authentication_required: Option<bool>
§secure_connections_required: Option<bool>
Trait Implementations§
Source§impl Clone for SecurityRequirements
impl Clone for SecurityRequirements
Source§fn clone(&self) -> SecurityRequirements
fn clone(&self) -> SecurityRequirements
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 SecurityRequirements
impl Debug for SecurityRequirements
Source§impl Default for SecurityRequirements
impl Default for SecurityRequirements
Source§fn default() -> SecurityRequirements
fn default() -> SecurityRequirements
Returns the “default value” for a type. Read more
Source§impl From<&SecurityRequirements> for SecurityRequirements
impl From<&SecurityRequirements> for SecurityRequirements
Source§fn from(src: &SecurityRequirements) -> SecurityRequirements
fn from(src: &SecurityRequirements) -> SecurityRequirements
Converts to this type from the input type.
Source§impl From<&SecurityRequirements> for SecurityRequirements
impl From<&SecurityRequirements> for SecurityRequirements
Source§fn from(src: &SecurityRequirements) -> SecurityRequirements
fn from(src: &SecurityRequirements) -> SecurityRequirements
Converts to this type from the input type.
Source§impl PartialEq for SecurityRequirements
impl PartialEq for SecurityRequirements
impl StructuralPartialEq for SecurityRequirements
Auto Trait Implementations§
impl Freeze for SecurityRequirements
impl RefUnwindSafe for SecurityRequirements
impl Send for SecurityRequirements
impl Sync for SecurityRequirements
impl Unpin for SecurityRequirements
impl UnwindSafe for SecurityRequirements
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§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
)