Skip to main content
Version: Next

Struct Display


_10
pub struct Display {
_10
_10
pub let name: String
_10
_10
pub let description: String
_10
_10
pub let thumbnail: AnyStruct{File}
_10
}

Display is a basic view that includes the name, description and thumbnail for an object. Most objects should implement this view.

Initializer


_10
init(name: String, description: String, thumbnail: AnyStruct{File})