Struct google_proximitybeacon1_beta1::api::BeaconInfo
source · pub struct BeaconInfo {
pub advertised_id: Option<AdvertisedId>,
pub attachments: Option<Vec<AttachmentInfo>>,
pub beacon_name: Option<String>,
}
Expand description
A subset of beacon information served via the beaconinfo.getforobserved
method, which you call when users of your app encounter your beacons.
This type is not used in any activity, and only used as part of another schema.
Fields§
§advertised_id: Option<AdvertisedId>
The ID advertised by the beacon.
attachments: Option<Vec<AttachmentInfo>>
Attachments matching the type(s) requested. May be empty if no attachment types were requested.
beacon_name: Option<String>
The name under which the beacon is registered.
Trait Implementations§
source§impl Clone for BeaconInfo
impl Clone for BeaconInfo
source§fn clone(&self) -> BeaconInfo
fn clone(&self) -> BeaconInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BeaconInfo
impl Debug for BeaconInfo
source§impl Default for BeaconInfo
impl Default for BeaconInfo
source§fn default() -> BeaconInfo
fn default() -> BeaconInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BeaconInfo
impl<'de> Deserialize<'de> for BeaconInfo
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
source§impl Serialize for BeaconInfo
impl Serialize for BeaconInfo
impl Part for BeaconInfo
Auto Trait Implementations§
impl RefUnwindSafe for BeaconInfo
impl Send for BeaconInfo
impl Sync for BeaconInfo
impl Unpin for BeaconInfo
impl UnwindSafe for BeaconInfo
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