pub struct GetAppManifestReturns {
pub url: String,
pub errors: Vec<AppManifestError>,
pub data: Option<String>,
pub parsed: Option<AppManifestParsedProperties>,
pub manifest: WebAppManifest,
}Expand description
Gets the processed manifest for this current document. This API always waits for the manifest to be loaded. If manifestId is provided, and it does not match the manifest of the current document, this API errors out. If there is not a loaded page, this API errors out immediately.
Fields§
§url: StringManifest location.
errors: Vec<AppManifestError>§data: Option<String>Manifest content.
parsed: Option<AppManifestParsedProperties>Parsed manifest properties. Deprecated, use manifest instead.
manifest: WebAppManifestTrait Implementations§
Source§impl Clone for GetAppManifestReturns
impl Clone for GetAppManifestReturns
Source§fn clone(&self) -> GetAppManifestReturns
fn clone(&self) -> GetAppManifestReturns
Returns a duplicate 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 GetAppManifestReturns
impl Debug for GetAppManifestReturns
Source§impl Default for GetAppManifestReturns
impl Default for GetAppManifestReturns
Source§fn default() -> GetAppManifestReturns
fn default() -> GetAppManifestReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAppManifestReturns
impl<'de> Deserialize<'de> for GetAppManifestReturns
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
Auto Trait Implementations§
impl Freeze for GetAppManifestReturns
impl RefUnwindSafe for GetAppManifestReturns
impl Send for GetAppManifestReturns
impl Sync for GetAppManifestReturns
impl Unpin for GetAppManifestReturns
impl UnsafeUnpin for GetAppManifestReturns
impl UnwindSafe for GetAppManifestReturns
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