pub struct LeSetAdvertisingParametersBuilder {
pub advertising_channel_map: u8,
pub advertising_filter_policy: AdvertisingFilterPolicy,
pub advertising_interval_max: u16,
pub advertising_interval_min: u16,
pub advertising_type: AdvertisingType,
pub own_address_type: OwnAddressType,
pub peer_address: Address,
pub peer_address_type: PeerAddressType,
}Fields§
§advertising_channel_map: u8§advertising_filter_policy: AdvertisingFilterPolicy§advertising_interval_max: u16§advertising_interval_min: u16§advertising_type: AdvertisingType§own_address_type: OwnAddressType§peer_address: Address§peer_address_type: PeerAddressTypeImplementations§
Source§impl LeSetAdvertisingParametersBuilder
impl LeSetAdvertisingParametersBuilder
pub fn build(self) -> LeSetAdvertisingParameters
Trait Implementations§
Source§impl From<LeSetAdvertisingParametersBuilder> for Command
impl From<LeSetAdvertisingParametersBuilder> for Command
Source§fn from(builder: LeSetAdvertisingParametersBuilder) -> Command
fn from(builder: LeSetAdvertisingParametersBuilder) -> Command
Converts to this type from the input type.
Source§impl From<LeSetAdvertisingParametersBuilder> for LeSetAdvertisingParameters
impl From<LeSetAdvertisingParametersBuilder> for LeSetAdvertisingParameters
Source§fn from(
builder: LeSetAdvertisingParametersBuilder,
) -> LeSetAdvertisingParameters
fn from( builder: LeSetAdvertisingParametersBuilder, ) -> LeSetAdvertisingParameters
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LeSetAdvertisingParametersBuilder
impl RefUnwindSafe for LeSetAdvertisingParametersBuilder
impl Send for LeSetAdvertisingParametersBuilder
impl Sync for LeSetAdvertisingParametersBuilder
impl Unpin for LeSetAdvertisingParametersBuilder
impl UnwindSafe for LeSetAdvertisingParametersBuilder
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more