pub struct GetAppManifestReturns<'a> { /* private fields */ }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.
Implementations§
Source§impl<'a> GetAppManifestReturns<'a>
impl<'a> GetAppManifestReturns<'a>
pub fn builder( url: impl Into<Cow<'a, str>>, errors: Vec<AppManifestError<'a>>, manifest: WebAppManifest<'a>, ) -> GetAppManifestReturnsBuilder<'a>
pub fn url(&self) -> &str
pub fn errors(&self) -> &[AppManifestError<'a>]
pub fn data(&self) -> Option<&str>
pub fn parsed(&self) -> Option<&AppManifestParsedProperties<'a>>
pub fn manifest(&self) -> &WebAppManifest<'a>
Trait Implementations§
Source§impl<'a> Clone for GetAppManifestReturns<'a>
impl<'a> Clone for GetAppManifestReturns<'a>
Source§fn clone(&self) -> GetAppManifestReturns<'a>
fn clone(&self) -> GetAppManifestReturns<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetAppManifestReturns<'a>
impl<'a> Debug for GetAppManifestReturns<'a>
Source§impl<'a> Default for GetAppManifestReturns<'a>
impl<'a> Default for GetAppManifestReturns<'a>
Source§fn default() -> GetAppManifestReturns<'a>
fn default() -> GetAppManifestReturns<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetAppManifestReturns<'a>
impl<'de, 'a> Deserialize<'de> for GetAppManifestReturns<'a>
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<'a> Freeze for GetAppManifestReturns<'a>
impl<'a> RefUnwindSafe for GetAppManifestReturns<'a>
impl<'a> Send for GetAppManifestReturns<'a>
impl<'a> Sync for GetAppManifestReturns<'a>
impl<'a> Unpin for GetAppManifestReturns<'a>
impl<'a> UnsafeUnpin for GetAppManifestReturns<'a>
impl<'a> UnwindSafe for GetAppManifestReturns<'a>
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