added docstrings

added docstrings

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
Ashwin Naren 2024-08-27 19:36:07 -07:00
parent f88452a98e
commit cb8653b26c
No known key found for this signature in database
GPG key ID: D96D7DE56FBCB6B6

View file

@ -35,14 +35,17 @@ use crate::task_source::TaskSource;
#[dom_struct]
pub struct IDBDatabase {
eventtarget: EventTarget,
/// <https://w3c.github.io/IndexedDB/#database-name>
name: DOMString,
/// <https://w3c.github.io/IndexedDB/#database-version>
version: Cell<u64>,
/// <https://w3c.github.io/IndexedDB/#object-store>
object_store_names: DomRefCell<Vec<DOMString>>,
// No specification below this line
/// <https://w3c.github.io/IndexedDB/#database-upgrade-transaction>
upgrade_transaction: MutNullableDom<IDBTransaction>,
// Flags
/// https://w3c.github.io/IndexedDB/#connection-close-pending-flag
closing: Cell<bool>,
}