Struct wallet_pass::template::Beacon [−][src]
pub struct Beacon {
pub major: Option<i64>,
pub minor: Option<i64>,
pub proximity_uuid: String,
pub relevant_text: Option<String>,
}Expand description
Information about a location beacon.
Fields
major: Option<i64>Major identifier of a Bluetooth Low Energy location beacon.
minor: Option<i64>Minor identifier of a Bluetooth Low Energy location beacon.
proximity_uuid: StringUnique identifier of a Bluetooth Low Energy location beacon.
relevant_text: Option<String>Text displayed on the lock screen when the pass is currently relevant.
Implementations
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Beacon
impl UnwindSafe for Beacon
Blanket Implementations
Mutably borrows from an owned value. Read more