pub struct WebxdcInfo {
pub name: String,
pub icon: String,
pub document: String,
pub summary: String,
pub source_code_url: String,
pub request_integration: String,
pub internet_access: bool,
pub self_addr: String,
pub send_update_interval: usize,
pub send_update_max_size: usize,
}
Expand description
Parsed information from WebxdcManifest and fallbacks.
Fields§
§name: String
The name of the app. Defaults to filename if not set in the manifest.
icon: String
Filename of the app icon.
document: String
If the webxdc represents a document and allows to edit it, this is the document name. Otherwise an empty string.
summary: String
Short description of the webxdc state. For example, “7 votes”.
source_code_url: String
URL of webxdc source code or an empty string.
request_integration: String
Set to “map” to request integration, otherwise an empty string.
internet_access: bool
If the webxdc is allowed to access the network. It should request access, be encrypted and sent to self for this.
self_addr: String
Address to be used for window.webxdc.selfAddr
in JS land.
send_update_interval: usize
Milliseconds to wait before calling sendUpdate()
again since the last call.
Should be exposed to window.sendUpdateInterval
in JS land.
send_update_max_size: usize
Maximum number of bytes accepted for a serialized update object.
Should be exposed to window.sendUpdateMaxSize
in JS land.