Struct witnext::Resource [−][src]
pub struct Resource { pub name: Id, pub resource_id: ResourceId, pub docs: String, }
Fields
name: Id
The local name within the module this resource is defined within. This may differ from the id of the resource itself.
resource_id: ResourceId
The unique id assigned to this resource.
docs: String
Documentation in the defining module, if any.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Resource
impl UnwindSafe for Resource
Blanket Implementations
Mutably borrows from an owned value. Read more