rbx_asset: add CreatorType

This commit is contained in:
Quaternions 2025-04-03 11:35:39 -07:00
parent 6eca84a08a
commit aea777ecd3
Signed by: Quaternions
GPG Key ID: D0DF5964F79AC131

@ -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>,