pub struct Files { /* private fields */ }
Expand description
Interface for the modfiles of a mod.
Implementations§
source§impl Files
impl Files
sourcepub fn search(&self, filter: Filter) -> Query<File>
pub fn search(&self, filter: Filter) -> Query<File>
Returns a Query
interface to retrieve all files that are published
for a mod this Files
refers to.
See Filters and sorting.
sourcepub async fn add(self, options: AddFileOptions) -> Result<File>
pub async fn add(self, options: AddFileOptions) -> Result<File>
Add a file for a mod that this Files
refers to. [required: token]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Files
impl !RefUnwindSafe for Files
impl Send for Files
impl Sync for Files
impl Unpin for Files
impl !UnwindSafe for Files
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