Module resource

Source
Expand description

Types for Resources.

Re-exports§

pub use report::ReportId;
pub use report::ResourceReport;

Modules§

curation
Types for Resource short codes for sharing
report
Types for Resource short codes for sharing

Structs§

DeleteUserResources
All id’s associated with a Resource to delete
ListLikedPath
ListLikedRequest
Response for request for list of liked resources.
ListLikedResponse
Response for request for list of liked resources.
ResourceAdminData
These fields can be edited by admin and can be viewed by everyone
ResourceAdminDataUpdatePath
ResourceBrowsePath
ResourceBrowseQuery
Query for Browse.
ResourceBrowseResponse
Response for Browse.
ResourceClonePath
ResourceCountPath
ResourceCountResponse
Response for total count of public and published resource.
ResourceCoverPath
ResourceCreatePath
ResourceCreateRequest
Request to create a new Resource.
ResourceData
The over-the-wire representation of a Resource’s data. This can either be the live copy or the draft copy.
ResourceDeleteAllPath
ResourceDeletePath
ResourceGetDraftPath
ResourceGetLivePath
ResourceId
Wrapper type around [Uuid], represents the ID of a Resource.
ResourceIdResponse
Response for successfully finding the draft of a resource.
ResourceLikePath
ResourceLikedPath
ResourceLikedResponse
Response for whether a user has liked a Resource.
ResourcePublishPath
ResourceResponse
The response returned when a request for GETing a resource is successful.
ResourceSearchPath
ResourceSearchQuery
Search for Resources via the given query string.
ResourceSearchResponse
Response for successful search.
ResourceUnlikePath
ResourceUpdateAdminDataRequest
These fields can be edited by admin and can be viewed by everyone
ResourceUpdateDraftDataPath
ResourceUpdateDraftDataRequest
Request for updating a Resource’s draft data.
ResourceViewPath

Enums§

ResourceRating
Admin rating for Resource