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: String

Unique 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

Create a new Instance

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.