pub struct UpdateSaveRequest {
pub uuid: String,
pub name: String,
pub summary: String,
pub extra: Option<String>,
pub playtime: u32,
pub data_file_path: Box<Path>,
pub cover_file_path: Option<Box<Path>>,
}Expand description
Request parameters for updating a cloud save
Fields§
§uuid: StringUUID of the cloud save to update
name: StringSave name (max 60 bytes, no Chinese characters)
summary: StringSave description (max 500 bytes)
extra: Option<String>Developer-defined extra data (max 1000 bytes, optional)
playtime: u32Game playtime in seconds
data_file_path: Box<Path>Path to the save data file (max 10MB)
cover_file_path: Option<Box<Path>>Path to the cover image file (max 512KB, optional)
Trait Implementations§
Source§impl Clone for UpdateSaveRequest
impl Clone for UpdateSaveRequest
Source§fn clone(&self) -> UpdateSaveRequest
fn clone(&self) -> UpdateSaveRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateSaveRequest
impl RefUnwindSafe for UpdateSaveRequest
impl Send for UpdateSaveRequest
impl Sync for UpdateSaveRequest
impl Unpin for UpdateSaveRequest
impl UnwindSafe for UpdateSaveRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more