rbx_asset: add CreatorType
This commit is contained in:
parent
6eca84a08a
commit
aea777ecd3
@ -91,6 +91,13 @@ impl std::fmt::Display for GetError{
|
||||
}
|
||||
impl std::error::Error for GetError{}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(serde::Deserialize,serde::Serialize)]
|
||||
pub enum CreatorType{
|
||||
User,
|
||||
Group,
|
||||
}
|
||||
|
||||
pub struct AssetVersionsPageRequest{
|
||||
pub asset_id:u64,
|
||||
pub cursor:Option<String>,
|
||||
@ -101,7 +108,7 @@ pub struct AssetVersion{
|
||||
pub Id:u64,
|
||||
pub assetId:u64,
|
||||
pub assetVersionNumber:u64,
|
||||
pub creatorType:String,
|
||||
pub creatorType:CreatorType,
|
||||
pub creatorTargetId:u64,
|
||||
pub creatingUniverseId:Option<u64>,
|
||||
pub created:chrono::DateTime<chrono::Utc>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user