pub struct AirPlayTargetAdvertisementData {
pub flags: Option<u8>,
pub seed: Option<u8>,
pub ip_address: Ipv4Addr,
}Expand description
Data for an AirPlay target message
Fields§
§flags: Option<u8>§seed: Option<u8>§ip_address: Ipv4AddrTrait Implementations§
source§impl Advertisable<AirPlayTargetAdvertisementData> for AirPlayTargetAdvertisement
impl Advertisable<AirPlayTargetAdvertisementData> for AirPlayTargetAdvertisement
source§fn assemble_advertisement(
session: &mut Session,
user_data: &AirPlayTargetAdvertisementData
) -> Result<Advertisement, Box<dyn Error>>
fn assemble_advertisement(
session: &mut Session,
user_data: &AirPlayTargetAdvertisementData
) -> Result<Advertisement, Box<dyn Error>>
Advertisement-specific: assemble user supplied data to advertisement.
source§impl Clone for AirPlayTargetAdvertisementData
impl Clone for AirPlayTargetAdvertisementData
source§fn clone(&self) -> AirPlayTargetAdvertisementData
fn clone(&self) -> AirPlayTargetAdvertisementData
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 more