Struct google_proximitybeacon1_beta1::AttachmentInfo[][src]

pub struct AttachmentInfo {
    pub max_distance_meters: Option<f64>,
    pub data: Option<String>,
    pub namespaced_type: Option<String>,
}

A subset of attachment information served via the beaconinfo.getforobserved method, used when your users encounter your beacons.

This type is not used in any activity, and only used as part of another schema.

Fields

The distance away from the beacon at which this attachment should be delivered to a mobile app.

Setting this to a value greater than zero indicates that the app should behave as if the beacon is "seen" when the mobile device is less than this distance away from the beacon.

Different attachments on the same beacon can have different max distances.

Note that even though this value is expressed with fractional meter precision, real-world behavior is likley to be much less precise than one meter, due to the nature of current Bluetooth radio technology.

Optional. When not set or zero, the attachment should be delivered at the beacon's outer limit of detection.

An opaque data container for client-provided data.

Specifies what kind of attachment this is. Tells a client how to interpret the data field. Format is namespace/type, for example scrupulous-wombat-12345/welcome-message

Trait Implementations

impl Default for AttachmentInfo
[src]

Returns the "default value" for a type. Read more

impl Clone for AttachmentInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AttachmentInfo
[src]

Formats the value using the given formatter. Read more

impl Part for AttachmentInfo
[src]

Auto Trait Implementations