[][src]Struct firefox_native_manifest_types::ManagedStorageManifest

pub struct ManagedStorageManifest<T> {
    pub name: String,
    pub description: String,
    pub ty: ManagedStorageType,
    pub data: T,
}

Define read-only data that an extension can access using the storage.managed API.

Fields

name: String

The ID of the extension that can access this storage, given as the ID you've specified in the extension's applications key.

description: String

Human readable description, ignored by Firefox.

ty: ManagedStorageType

This must be "storage".

data: T

A JSON object that may contain any valid JSON values, including strings, numbers, booleans, arrays, or objects. This will become the data in the browser.storage.managed storage area.

Trait Implementations

impl<T: Debug> Debug for ManagedStorageManifest<T>[src]

impl<'de, T> Deserialize<'de> for ManagedStorageManifest<T> where
    T: Deserialize<'de>, 
[src]

impl<T> Serialize for ManagedStorageManifest<T> where
    T: Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ManagedStorageManifest<T> where
    T: RefUnwindSafe

impl<T> Send for ManagedStorageManifest<T> where
    T: Send

impl<T> Sync for ManagedStorageManifest<T> where
    T: Sync

impl<T> Unpin for ManagedStorageManifest<T> where
    T: Unpin

impl<T> UnwindSafe for ManagedStorageManifest<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.