pub struct FileRef { /* private fields */ }
Expand description
Reference interface of a modfile.
Implementations§
source§impl FileRef
impl FileRef
sourcepub async fn get(self) -> Result<File>
pub async fn get(self) -> Result<File>
Get a reference to the Modio modfile object that this FileRef
refers to.
sourcepub async fn edit(self, options: EditFileOptions) -> Result<Editing<File>>
pub async fn edit(self, options: EditFileOptions) -> Result<Editing<File>>
Edit details of a modfile. [required: token]
sourcepub async fn edit_platform_status(
self,
options: EditPlatformStatusOptions
) -> Result<File>
pub async fn edit_platform_status( self, options: EditPlatformStatusOptions ) -> Result<File>
Edit the platform status of a modfile. [required: token]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileRef
impl !RefUnwindSafe for FileRef
impl Send for FileRef
impl Sync for FileRef
impl Unpin for FileRef
impl !UnwindSafe for FileRef
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