[−][src]Struct google_proximitybeacon1_beta1::AttachmentInfo
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
max_distance_meters: Option<f64>
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.
data: Option<String>
An opaque data container for client-provided data.
namespaced_type: Option<String>
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 Clone for AttachmentInfo
[src]
fn clone(&self) -> AttachmentInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AttachmentInfo
[src]
impl Default for AttachmentInfo
[src]
fn default() -> AttachmentInfo
[src]
impl<'de> Deserialize<'de> for AttachmentInfo
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for AttachmentInfo
[src]
impl Serialize for AttachmentInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for AttachmentInfo
impl Send for AttachmentInfo
impl Sync for AttachmentInfo
impl Unpin for AttachmentInfo
impl UnwindSafe for AttachmentInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,