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§
Source§impl<'de> Deserialize<'de> for Beacon
impl<'de> Deserialize<'de> for Beacon
Source§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 Freeze for Beacon
impl RefUnwindSafe for Beacon
impl Send for Beacon
impl Sync for Beacon
impl Unpin for Beacon
impl UnsafeUnpin for Beacon
impl UnwindSafe for Beacon
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