Struct webmanifest::Related[][src]

pub struct Related<'s> { /* fields omitted */ }

An entry in an array of native applications that are installable by, or accessible to, the underlying platform.

For example, a native Android application obtainable through the Google Play Store. Such applications are intended to be alternatives to the website that provides similar/equivalent functionality — like the native app version of the website.

Example Output

"related_applications": [{
  "platform": "play",
  "url": "https://play.google.com/store/apps/details?id=cheeaun.hackerweb"
}]

Methods

impl<'s> Related<'s>
[src]

Create a new Related instance.

Example

let platform = "play";
let url = "https://play.google.com/store/apps/details?id=cheeaun.hackerweb";
let related = Related::new(platform, url);

Trait Implementations

impl<'s> Debug for Related<'s>
[src]

Formats the value using the given formatter. Read more

impl<'s> Clone for Related<'s>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'s> Send for Related<'s>

impl<'s> Sync for Related<'s>